[ mailman-Patches-1184595 ] setregid() to prevent group mismatch error with any MTA

SourceForge.net noreply at sourceforge.net
Sun Apr 17 12:43:03 CEST 2005


Patches item #1184595, was opened at 2005-04-17 12:43
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1184595&group_id=103

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: SvR Marty (svrmarty)
Assigned to: Nobody/Anonymous (nobody)
Summary: setregid() to prevent group mismatch error with any MTA

Initial Comment:
mailman should run with its own gid apart from the 
MTA.  The mail wrapper is setgid to mailmain to allow 
this:
rwxr-sr-x  1 mailman mailman 7856 Mar 21 
03:13 /usr/local/mailman/mail/mailman

However, the gid check in the wrapper checks the real 
gid (the gid of the MTA) instead of the effective gid 
(mailman).  One fix is to have the wrapper set its real gid 
to the effective gid as done by the attached mailman-
2.1.5-setregid.patch.  This patch has been verified to 
work with postfix and should work with all other MTAs.



see also
http://bugs.gentoo.org/show_bug.cgi?id=45439


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1184595&group_id=103


More information about the Mailman-coders mailing list