MI:3 - Installing Mailman on Solaris

From: Martin Schmitt (martin@schmitt.li)
Date: Wed Apr 17 2002 - 14:42:11 EDT


(This goes to the Mailman-Users list as well as the Sun Managers list. My
troubleshooting skills are at their very final end here.)

Hi everyone, once again.

I've returned to yet another attempt at installing Mailman 2.0.9 on my shiny
new Solaris 8 box, and all I'm getting is:

Apr 17 13:09:36 vortex Mailman mail-wrapper: [ID 702911 mail.error] Failure to exec script. WANTED gid 59999, GOT gid 60001. (Reconfigure to take 60001?)
Apr 17 13:09:36 vortex postfix/local[12816]: [ID 197553 mail.info] 27FA03846E: to=<testlist-request@f00.net>, relay=local, delay=0, status=deferred (Command died with status 2: "/home/mailman/mail/wrapper mailcmd testlist". Command output: Failure to exec script. WANTED gid 59999, GOT gid 60001. (Reconfigure to take 60001?) )

I'm not an idiot, at least not completely, I hope. I know that this is being
dealt with in a FAQ somewhere, I've read and followed it a few weeks ago,
but I can't work it out. What more am I supposed to do than rm -Rf'ing
everything Mailman related and starting over from scratch making really sure
everything is configured right? You know, retrying over and over gets old
after a few attempts. I've even backed away from my /opt layout and let
mailman install to the default location /home/mailman, all to no avail.

I configured Mailman like this:

./configure --with-username=mailman --with-groupname=mailman --with-cgi-gid=httpd --with-mail-gid=postfix

# grep postfix /etc/passwd /etc/group
/etc/passwd:postfix:x:59999:59999::/bin/false:/bin/false
/etc/group:postfix::59999:

# grep mailman /etc/passwd /etc/group
/etc/passwd:mailman:x:59994:59994::/home/mailman:/bin/sh
/etc/group:mailman::59994:

# grep httpd /etc/passwd /etc/group
/etc/passwd:httpd:x:59996:59996::/home/httpd:/bin/false
/etc/group:httpd::59996:

# grep 60001 /etc/passwd /etc/group
/etc/passwd:nobody:x:60001:60001:Nobody:/:
/etc/group:nobody::60001:

# python -V
Python 2.2

# ls -la /home/mailman
total 40
drwxrwsr-x 18 mailman mailman 512 Apr 17 12:53 .
drwxr-xr-x 5 root other 512 Mar 17 03:04 ..
drwxrwsr-x 8 root mailman 1536 Apr 17 13:03 Mailman
drwxrwsr-x 4 root mailman 512 Apr 17 12:53 archives
drwxrwsr-x 2 root mailman 512 Apr 17 12:54 bin
drwxrwsr-x 2 root mailman 512 Apr 17 12:54 cgi-bin
drwxrwsr-x 2 root mailman 512 Apr 17 12:58 cron
drwxrwsr-x 2 root mailman 512 Apr 17 13:04 data
drwxrwsr-x 2 root mailman 512 Apr 17 12:54 filters
drwxrwsr-x 2 root mailman 512 Apr 17 12:54 icons
drwxrwsr-x 3 root mailman 512 Apr 17 13:03 lists
drwxrwsr-x 2 root mailman 512 Apr 17 13:11 locks
drwxrwsr-x 2 root mailman 512 Apr 17 13:05 logs
drwxrwsr-x 2 root mailman 512 Apr 17 12:54 mail
drwxrwsr-x 2 root mailman 512 Apr 17 12:53 qfiles
drwxrwsr-x 2 root mailman 512 Apr 17 12:54 scripts
drwxrwsr-x 2 root mailman 512 Apr 17 12:53 spam
drwxrwsr-x 2 root mailman 1536 Apr 17 12:54 templates

/home is a symlink to /usr/home on /usr, which is mounted with the following
options:

/usr on /dev/md/dsk/d33 read/write/setuid/intr/largefiles/logging/onerror=panic/dev=1540021 on Sat Mar 16 04:13:16 2002

When sending mail to a list, all I get is:

Apr 17 13:09:36 vortex Mailman mail-wrapper: [ID 702911 mail.error] Failure to exec script. WANTED gid 59999, GOT gid 60001. (Reconfigure to take 60001?)
Apr 17 13:09:36 vortex postfix/local[12816]: [ID 197553 mail.info] 27FA03846E: to=<testlist-request@f00.net>, relay=local, delay=0, status=deferred (Command died with status 2: "/home/mailman/mail/wrapper mailcmd testlist". Command output: Failure to exec script. WANTED gid 59999, GOT gid 60001. (Reconfigure to take 60001?) )

What is missing? Does anyone of you have Mailman running on Solaris with
Postfix, like I'm trying to do? Does the Fallback to "nobody" has anything
to do with Postfix security?

The precise script in question looks like this:

# ls -l /home/mailman/mail/wrapper
-rwxr-sr-x 1 root mailman 36536 Apr 17 12:54 /home/mailman/mail/wrapper

The CGI interface works fine, BTW.

Thanks in advance for all hints,

-martin

-- 
I will talk and Redmond will listen.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:13 EDT