<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD>
<BODY>
<DIV><STRONG><FONT face=Arial color=#0000ff><SPAN class=970573813-05012001>I
can't get rid of this:</SPAN></FONT></STRONG></DIV>
<DIV><STRONG><FONT face=Arial color=#0000ff><SPAN
class=970573813-05012001></SPAN></FONT></STRONG> </DIV>
<DIV><STRONG><FONT face=Arial color=#0000ff>Jan 5 09:40:24 mail
postfix/local[29125]: 75172FBD: to=<<A
href="mailto:test@internetstockmarket">test@internetstockmarket</A>.<BR>com>,
relay=local, delay=0, status=bounced (Command died with status 2: "
/home/ma<BR>ilman/mail/wrapper post test". Command output: Failure to exec
script. WANTED gid<BR>501, GOT gid 99. (Reconfigure to take 99?)
)</FONT></STRONG></DIV>
<DIV><STRONG><FONT face=Arial color=#0000ff></FONT></STRONG> </DIV>
<DIV><SPAN class=970573813-05012001><FONT face=Arial color=#0000ff><STRONG>I
have done the following many times:</STRONG></FONT></SPAN></DIV><SPAN
class=970573813-05012001>
<P><B>Problem:</B> I use Postfix for my MTA and the mail wrapper programs are
logging complaints about the wrong GID. <BR><B>Solution:</B> Create a separate
aliases file for Postfix in its <CODE>main.cf</CODE> config file under the
variable <EM>alias_maps</EM>. Put the file somewhere in Mailman's home
directory, or somewhere else where the user <CODE>mailman</CODE> has write
access to it; <EM>as user mailman</EM> call Postfix's <CODE>postalias</CODE> on
the alias file.
<BLOCKQUOTE><PRE>% postalias the-alias-file
</PRE></BLOCKQUOTE>
<DIV>Also as user mailman, run </DIV>
<BLOCKQUOTE><PRE>% python -c'import os; print os.getgid()'
</PRE></BLOCKQUOTE>
<P>This should print out the group id that Mailman should be configured to
expect when the mail wrapper programs are run. Call it <EM>thegid</EM>. Rebuild
Mailman with
<BLOCKQUOTE><PRE>% ./configure --with-mail-gid=thegid</PRE><PRE> </PRE></BLOCKQUOTE>
<DIV><FONT face=Arial><FONT color=#0000ff><STRONG>I also</STRONG> <SPAN
class=970573813-05012001><STRONG>tried --with-mail-gid= 501 and --with-mail-gid=
mailman</STRONG></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><SPAN
class=970573813-05012001><STRONG></STRONG></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><SPAN
class=970573813-05012001><STRONG>The alias file works, I can redirect
aliases.</STRONG></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><SPAN
class=970573813-05012001><STRONG></STRONG></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><SPAN
class=970573813-05012001><STRONG>What do I do
next?</STRONG></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><SPAN
class=970573813-05012001><STRONG></STRONG></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><SPAN
class=970573813-05012001><STRONG>Thanks,</STRONG></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><SPAN
class=970573813-05012001><STRONG></STRONG></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><SPAN
class=970573813-05012001><STRONG>Chuck</STRONG></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><SPAN
class=970573813-05012001><STRONG></STRONG></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><SPAN
class=970573813-05012001>[root@mail /home]# ls -l<BR>total
28<BR>.....<BR>drwxrwsrwx 18 root
mailman 4096 Jan 5 09:38
mailman</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><SPAN
class=970573813-05012001></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><SPAN
class=970573813-05012001></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><SPAN
class=970573813-05012001>[root@mail mailman]# ls -l<BR>total
2980<BR>drwxrwsr-x 8 mailman
mailman 4096 Jan 5 09:35
Mailman<BR>-rw-r--r-- 1 root
mailman 1661 Jan 5 09:38
aliases<BR>-rw-r--r-- 1 root
mailman 20480 Jan 5 09:38
aliases.db<BR>drwxrwsr-x 4 mailman
mailman 4096 Dec 25 10:50
archives<BR>drwxrwsr-x 2 mailman
mailman 4096 Jan 5 09:35
bin<BR>drwxrwsr-x 2 mailman
mailman 4096 Jan 5 09:35
cgi-bin<BR>-rw------- 1 root
mailman 2916352 Dec 25 12:07 core<BR>drwxrwsr-x 2
mailman mailman 4096 Jan 5 09:35
cron<BR>drwxrwsr-x 2 mailman
mailman 4096 Jan 5 09:35
data<BR>drwxrwsr-x 2 mailman
mailman 4096 Jan 5 09:35
filters<BR>drwxrwsr-x 2 mailman
mailman 4096 Jan 5 09:35
icons<BR>drwxrwsr-x 4 mailman
mailman 4096 Dec 30 10:19
lists<BR>drwxrwsr-x 2 mailman
mailman 4096 Jan 5 09:46
locks<BR>drwxrwsr-x 2 mailman
mailman 4096 Dec 29 21:39
logs<BR>drwxrwsr-x 2 mailman
mailman 4096 Jan 5 09:35
mail<BR>-rw-rw-r-- 1 mailman
mailman 22 Dec 30 10:08
memb<BR>drwxrwsr-x 2 mailman
mailman 4096 Jan 4 17:12
qfiles<BR>drwxrwsr-x 2 mailman
mailman 4096 Jan 5 09:35
scripts<BR>drwxrwsr-x 2 mailman
mailman 4096 Dec 25 10:50
spam<BR>drwxrwsr-x 2 mailman
mailman 4096 Jan 5 09:35
templates<BR>-rw-rw-r-- 1 mailman
mailman 35665 Dec 30 09:42
wrapper</SPAN></FONT></FONT></DIV></SPAN></BODY></HTML>