[Mailman-Users] Mailman and Postfix

Rupa Schomaker (list) rupa-list at rupa.com
Fri May 21 22:47:07 CEST 1999

First some suggestions:

1) is mailman running under it's own UID?  If so, then that is the UID 
   you want the mail-wrapper to use.  What is UID 600?

2) use a seperate database for the mailman aliases.  Make sure the
   database is owned by user mailman.

3) When postfix delivers, it'll deliver with the UID of the alias file 
   that matched your user.  Thus it'll deliver using the mailman uid.

eg: my site has /home/mailman/aliases with listalias.  listalias is
owned by mailman.  I use postalias to build listalias.db.  postalias is
run as the *user* mailman.  (not sure if the .db will be made with
root's ownership if you use newaliases as root).  I left out the new
alias from alias_database 'cause I don't want newaliases to rebuil it
-- rather I do so manually (or as part of the list creation process).

/etc/postfix/main.cf has:

alias_maps = hash:/etc/aliases, hash:/home/mailman/aliases/listalias

Hope this is of some help...

Gerard Hickey <Gerard.Hickey at nsc.com> writes:

> OK. I have a really stupid problem, but I could not really find any
> answers in the mailing list archive. 
> For quite some time I have wanted to move my majordomo lists to mailman.
> I finally got around to getting python 1.5.2 compiled and mailman seemed
> to be working fine. After creating a test list and trying to send mail
> through it, I started to have problems with the wrapper complaining
> about the gid not matching. After reading for a while it sounded like
> postfix would fix these problems (and I wanted to get away from sendmail
> anyways). 
> Now that I am running postfix, I still get simular problems. When mail
> is sent to the test mailing list from across the network, everything
> seems to work fine. But when a message is sent from the local machine
> where postfix and mailman are running, I get the wonderful errors about
> gid conflicts. Below are the messages from syslog about the problem.
> May 21 11:51:27 thoreau Mailman mail-wrapper: Failure to exec script.
> WANTED gid 65534, GOT gid 600.  (Reconfigure to take 600?)
> May 21 11:51:27 thoreau Mailman mail-wrapper: Failure to exec script.
> WANTED gid 65534, GOT gid 1.  (Reconfigure to take 1?) 
> Does anyone have a solution for this situation? 
> Thanks....
> --
> Gerard Hickey                             email: Gerard.Hickey at nsc.com
> National Semiconductor Corporation        phone: +1 207 541 6101
> Advance Development Center, MS 03-03      fax:   +1 207 541 6108
> 5 Foden Road, South Portland, Maine 04106-1706

Rupa (rupa at rupa.com for normal email)
Please don't email duplicate replies.

More information about the Mailman-Users mailing list