[Mailman-Users] MI:3 - Installing Mailman on Solaris

Ron Jarrell jarrell at vt.edu
Wed Apr 17 21:57:16 CEST 2002


Basically, what's happening, is that postfix isn't configured how you think it's configured.

You told mailman to expect the wrapper to be invoked by the mail system with a gid of
"postfix", which, from your files below is 59999.  It's telling you it was *not* invoked that
way, it was run with a gid of 60001, which is nobody.

Your two, very simple, choices are:

Re run configure with --with-mail-gid=60001
Reconfigure postfix to run programs as postfix instead of nobody.


At 08:42 PM 4/17/02 +0200, Martin Schmitt wrote:
>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 at 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?) )
>./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 at 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.
>
>
>------------------------------------------------------
>Mailman-Users mailing list
>Mailman-Users at python.org
>http://mail.python.org/mailman/listinfo/mailman-users
>Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py 






More information about the Mailman-Users mailing list