Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137254 - net-mail/mailman-2.1.8_rc1 uses wrong user for qmail
Summary: net-mail/mailman-2.1.8_rc1 uses wrong user for qmail
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-19 06:33 UTC by Jacek Sieka
Modified: 2006-09-01 02:35 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jacek Sieka 2006-06-19 06:33:40 UTC
net-mail/mailman-2.1.8_rc1 uses the gid "qmail" when building with USE="qmail", but qmail (as documented in qmail-lspawn) uses the uid/gid of the mailman user when delivering mail to the mailman user (when delivering a mail to a mailing list for example). This results in the following error in the qmail log:
@4000000044969fd023eb03d4 delivery 113: deferral: Group_mismatch_error.__Mailman_expected_the_mail/wrapper_script_to_be_executed_as_group_"qmail",_but/the_system's_mail_server_executed_the_mail_script_as/group_"mailman".__Try_tweaking_the_mail_server_to_run_the/script_as_group_"qmail",_or_re-run_configure,_/providing_the_command_line_option_`--with-mail-gid=mailman'./

Replacing the gid qmail with mailman in the ebuild makes everything work as expected.
Comment 1 Hanno Böck gentoo-dev 2006-07-21 10:13:35 UTC
Can't test it (no qmail around), so I need to trust you, but fixed it. Please re-open if any problems occur due to this.
Comment 2 Hanno Böck gentoo-dev 2006-07-21 10:15:25 UTC
done
Comment 3 Jacek Sieka 2006-09-01 02:35:58 UTC
Works for me now (although when testing for the first time I put "mailman" instead of "280" as uid)...