[Mailman-Users] Group mismatch puzzle

Mark Sapiro mark at msapiro.net
Mon Aug 27 19:39:45 CEST 2012


Lindsay Haisley wrote:
>
>What is the "mail wrapper script" to which the error message refers?


$prefix/mail/mailman

It is a compiled binary wrapper (source is src/mail-wrapper.c in the
distribution) that ultimately calls one of the Python scripts in the
scripts/ directory (e.g. scripts/post) to handle a message to Mailman.
It is a compiled binary because it needs to be SETGID and SETGID isn't
honored on script files.

It's sole purpose is to be SETGID and set the effective group for the
process to Mailman's group, and to check that it is invoked from the
expected invoking group to prevent just anyone from running it. See
the FAQ at <http://wiki.list.org/x/tYA9> for more on this.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list