Mailman, Postfix, Gentoo
I tried to set up mailman on Gentoo, using Postfix.
The Symptom: a bounce with this text:
<listname@hostname>: Command died with status 2:
"/usr/local/mailman/mail/mailman post everyone". Command output: Group
mismatch error. Mailman expected the mail wrapper script to be
executed as group "mailman", but the system's mail server executed the
mail script as group "nobody". Try tweaking the mail server to run the
script as group "mailman", or re-run configure, providing the command
line option -with-mail-gid=nobody'.
The solution:
Instead of adding mailman aliases to /etc/aliases, add them to
/usr/local/mailman/data/aliases. Then modify
/etc/postfix/main.cf:
+alias_maps = hash:/etc/mail/aliases, hash:/usr/local/mailman/data/aliases
+alias_database = hash:/etc/mail/aliases, hash:/usr/local/mailman/data/aliases
Yes, you need both lines.
Then make sure that /usr/local/mailman/data/aliases is owned by
mailman.mailman, run
newaliases, run 'postfix
reload', and try again.
Posted by Ed | Categories:
Linux