The README.gentoo file in the net-mail/mailman ebuild instructs the user to simply manually add the necessary aliases to /etc/mail/aliases. However, if you are running Postfix as your MTA, this setup will give you group errors with Mailman, since Postfix will run as 'nobody', while Mailman is expecting the MTA to have a group ID of 280. The README.gentoo file needs to point Postfix users to these instructions: http://list.org/mailman-install/node13.html These instructions set up Mailman/Postfix to handle the aliases automatically. However, this also kicks Postfix into using the group ID 'mailman' instead of 'nobody', since the owner of the aliases.db file is mailman, hence fixing the group mismatch error. Note that this is necessary even with the MTA-detection fix that was added in 2.1.6_rc4.
*** This bug has been marked as a duplicate of 106403 ***
This isn't a duplicate of that bug. The MAILGID setting in the mailman ebuild is absolutely fine -- I'm talking about the README.gentoo instructions that are presented to the user after install. The current instructions are inadequate, and will leave you with a broken system. You need to follow additional steps (i.e. setting up Mailman's aliases file and changing Postfix's main.cf). Otherwise, Postfix will use its usual 'nobody' gid instead of the 280 gid, and you will get group errors from Mailman. It's confusing for a new Mailman user, because these steps appear unrelated to the group errors, so it's not obvious that you need to do them. I got burned by this, and I've seen several forum threads that seems to have sprung from this exact problem.
Created attachment 79494 [details, diff] Add additional Postfix setup instructions for after Mailman installation I've done a quick patch for the README.gentoo file that points to the relevant Mailman docs.
*** Bug 125359 has been marked as a duplicate of this bug. ***
done, thanks
*** Bug 161654 has been marked as a duplicate of this bug. ***