Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122426 - Mailman install instructions don't set up Postfix integration properly
Summary: Mailman install instructions don't set up Postfix integration properly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
: 125359 161654 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-02-10 19:02 UTC by Chris Mear
Modified: 2007-01-11 22:55 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Add additional Postfix setup instructions for after Mailman installation (README.gentoo.patch,764 bytes, patch)
2006-02-11 05:46 UTC, Chris Mear
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Mear 2006-02-10 19:02:43 UTC
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.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-02-11 00:52:52 UTC

*** This bug has been marked as a duplicate of 106403 ***
Comment 2 Chris Mear 2006-02-11 05:45:38 UTC
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.
Comment 3 Chris Mear 2006-02-11 05:46:46 UTC
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.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-03-07 07:41:15 UTC
*** Bug 125359 has been marked as a duplicate of this bug. ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-03-07 08:03:12 UTC
*** Bug 125359 has been marked as a duplicate of this bug. ***
Comment 6 Hanno Böck gentoo-dev 2006-11-24 12:10:02 UTC
done, thanks
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-01-11 22:55:40 UTC
*** Bug 161654 has been marked as a duplicate of this bug. ***