Hi Charles.  If I read your post right, you're building with the wrong GID.
Try configuring with --with-mail-gid=99.

Dave Klingler

> 
> I can't get rid of this:
> 
> Jan  5 09:40:24 mail postfix/local[29125]: 75172FBD:
> to=<test@internetstockmarket.
> com>, relay=local, delay=0, status=bounced (Command died with status 2: "
> /home/ma
> ilman/mail/wrapper post test". Command output: Failure to exec script.
> WANTED gid
> 501, GOT gid 99.  (Reconfigure to take 99?) )
> 
> I have done the following many times:
> Problem: I use Postfix for my MTA and the mail wrapper programs are logging
> complaints about the wrong GID.
> Solution: Create a separate aliases file for Postfix in its main.cf config
> file under the variable alias_maps. Put the file somewhere in Mailman's home
> directory, or somewhere else where the user mailman has write access to it;
> as user mailman call Postfix's postalias on the alias file.
> 
> % postalias the-alias-file
> 
> Also as user mailman, run
> % python -c'import os; print os.getgid()'
> 
> This should print out the group id that Mailman should be configured to
> expect when the mail wrapper programs are run. Call it thegid. Rebuild
> Mailman with
> 
> % ./configure --with-mail-gid=thegid
> 
> I also tried --with-mail-gid= 501 and --with-mail-gid= mailman
> 
> The alias file works, I can redirect aliases.
> 
> What do I do next?
> 
> Thanks,
> 
> Chuck
> 
> [root@mail /home]# ls -l
> total 28
> .....
> drwxrwsrwx   18 root     mailman      4096 Jan  5 09:38 mailman
> 
> 
> [root@mail mailman]# ls -l
> total 2980
> drwxrwsr-x    8 mailman  mailman      4096 Jan  5 09:35 Mailman
> -rw-r--r--    1 root     mailman      1661 Jan  5 09:38 aliases
> -rw-r--r--    1 root     mailman     20480 Jan  5 09:38 aliases.db
> drwxrwsr-x    4 mailman  mailman      4096 Dec 25 10:50 archives
> drwxrwsr-x    2 mailman  mailman      4096 Jan  5 09:35 bin
> drwxrwsr-x    2 mailman  mailman      4096 Jan  5 09:35 cgi-bin
> -rw-------    1 root     mailman   2916352 Dec 25 12:07 core
> drwxrwsr-x    2 mailman  mailman      4096 Jan  5 09:35 cron
> drwxrwsr-x    2 mailman  mailman      4096 Jan  5 09:35 data
> drwxrwsr-x    2 mailman  mailman      4096 Jan  5 09:35 filters
> drwxrwsr-x    2 mailman  mailman      4096 Jan  5 09:35 icons
> drwxrwsr-x    4 mailman  mailman      4096 Dec 30 10:19 lists
> drwxrwsr-x    2 mailman  mailman      4096 Jan  5 09:46 locks
> drwxrwsr-x    2 mailman  mailman      4096 Dec 29 21:39 logs
> drwxrwsr-x    2 mailman  mailman      4096 Jan  5 09:35 mail
> -rw-rw-r--    1 mailman  mailman        22 Dec 30 10:08 memb
> drwxrwsr-x    2 mailman  mailman      4096 Jan  4 17:12 qfiles
> drwxrwsr-x    2 mailman  mailman      4096 Jan  5 09:35 scripts
> drwxrwsr-x    2 mailman  mailman      4096 Dec 25 10:50 spam
> drwxrwsr-x    2 mailman  mailman      4096 Jan  5 09:35 templates
> -rw-rw-r--    1 mailman  mailman     35665 Dec 30 09:42 wrapper
> 
> 
> ------------------------------------------------------
> Mailman-Users maillist  -  [EMAIL PROTECTED]
> http://www.python.org/mailman/listinfo/mailman-users
> 


------------------------------------------------------
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://www.python.org/mailman/listinfo/mailman-users

Reply via email to