Dirtbag's Blog

getting Mailman and Postfix to play nice together on gentoo

[ link: mailmanpostfix | tags: gentoo mailman postfix | updated: Fri, 17 Apr 2020 12:12:08 -0400 ]

I just switched over the a brand new server for monsterjam.org. I decided to go with postfix for my mail server and am very happy with it. I decided to use mailman for the mailing list server. After I had everything configured, I would send an email to a mailing list, and get an email back about group mismatches..

After posting to my mailing list, I would get an email stating..

 : Command died with status 2:
    "/usr/lib/mailman/mail/mailman post mailinglistname". 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'.

I did some searching and finally found the answer. In your postfix main.cf file add the following line:

 default_privs = mailman

and restart postfix.. problem solved.

-db

Like this article? Buy me a beer!