<!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>&nbsp;</DIV>
<DIV><STRONG><FONT face=Arial color=#0000ff>Jan&nbsp; 5 09:40:24 mail 
postfix/local[29125]: 75172FBD: to=&lt;<A 
href="mailto:test@internetstockmarket">test@internetstockmarket</A>.<BR>com&gt;, 
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.&nbsp; (Reconfigure to take 99?) 
)</FONT></STRONG></DIV>
<DIV><STRONG><FONT face=Arial color=#0000ff></FONT></STRONG>&nbsp;</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>&nbsp;</PRE></BLOCKQUOTE>
<DIV><FONT face=Arial><FONT color=#0000ff><STRONG>I also</STRONG>&nbsp;<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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><SPAN 
class=970573813-05012001>[root@mail /home]# ls -l<BR>total 
28<BR>.....<BR>drwxrwsrwx&nbsp;&nbsp; 18 root&nbsp;&nbsp;&nbsp;&nbsp; 
mailman&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096 Jan&nbsp; 5 09:38 
mailman</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><SPAN 
class=970573813-05012001></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><SPAN 
class=970573813-05012001></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><SPAN 
class=970573813-05012001>[root@mail mailman]# ls -l<BR>total 
2980<BR>drwxrwsr-x&nbsp;&nbsp;&nbsp; 8 mailman&nbsp; 
mailman&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096 Jan&nbsp; 5 09:35 
Mailman<BR>-rw-r--r--&nbsp;&nbsp;&nbsp; 1 root&nbsp;&nbsp;&nbsp;&nbsp; 
mailman&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1661 Jan&nbsp; 5 09:38 
aliases<BR>-rw-r--r--&nbsp;&nbsp;&nbsp; 1 root&nbsp;&nbsp;&nbsp;&nbsp; 
mailman&nbsp;&nbsp;&nbsp;&nbsp; 20480 Jan&nbsp; 5 09:38 
aliases.db<BR>drwxrwsr-x&nbsp;&nbsp;&nbsp; 4 mailman&nbsp; 
mailman&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096 Dec 25 10:50 
archives<BR>drwxrwsr-x&nbsp;&nbsp;&nbsp; 2 mailman&nbsp; 
mailman&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096 Jan&nbsp; 5 09:35 
bin<BR>drwxrwsr-x&nbsp;&nbsp;&nbsp; 2 mailman&nbsp; 
mailman&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096 Jan&nbsp; 5 09:35 
cgi-bin<BR>-rw-------&nbsp;&nbsp;&nbsp; 1 root&nbsp;&nbsp;&nbsp;&nbsp; 
mailman&nbsp;&nbsp; 2916352 Dec 25 12:07 core<BR>drwxrwsr-x&nbsp;&nbsp;&nbsp; 2 
mailman&nbsp; mailman&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096 Jan&nbsp; 5 09:35 
cron<BR>drwxrwsr-x&nbsp;&nbsp;&nbsp; 2 mailman&nbsp; 
mailman&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096 Jan&nbsp; 5 09:35 
data<BR>drwxrwsr-x&nbsp;&nbsp;&nbsp; 2 mailman&nbsp; 
mailman&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096 Jan&nbsp; 5 09:35 
filters<BR>drwxrwsr-x&nbsp;&nbsp;&nbsp; 2 mailman&nbsp; 
mailman&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096 Jan&nbsp; 5 09:35 
icons<BR>drwxrwsr-x&nbsp;&nbsp;&nbsp; 4 mailman&nbsp; 
mailman&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096 Dec 30 10:19 
lists<BR>drwxrwsr-x&nbsp;&nbsp;&nbsp; 2 mailman&nbsp; 
mailman&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096 Jan&nbsp; 5 09:46 
locks<BR>drwxrwsr-x&nbsp;&nbsp;&nbsp; 2 mailman&nbsp; 
mailman&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096 Dec 29 21:39 
logs<BR>drwxrwsr-x&nbsp;&nbsp;&nbsp; 2 mailman&nbsp; 
mailman&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096 Jan&nbsp; 5 09:35 
mail<BR>-rw-rw-r--&nbsp;&nbsp;&nbsp; 1 mailman&nbsp; 
mailman&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 22 Dec 30 10:08 
memb<BR>drwxrwsr-x&nbsp;&nbsp;&nbsp; 2 mailman&nbsp; 
mailman&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096 Jan&nbsp; 4 17:12 
qfiles<BR>drwxrwsr-x&nbsp;&nbsp;&nbsp; 2 mailman&nbsp; 
mailman&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096 Jan&nbsp; 5 09:35 
scripts<BR>drwxrwsr-x&nbsp;&nbsp;&nbsp; 2 mailman&nbsp; 
mailman&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096 Dec 25 10:50 
spam<BR>drwxrwsr-x&nbsp;&nbsp;&nbsp; 2 mailman&nbsp; 
mailman&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096 Jan&nbsp; 5 09:35 
templates<BR>-rw-rw-r--&nbsp;&nbsp;&nbsp; 1 mailman&nbsp; 
mailman&nbsp;&nbsp;&nbsp;&nbsp; 35665 Dec 30 09:42 
wrapper</SPAN></FONT></FONT></DIV></SPAN></BODY></HTML>