[Mailman-Users] Group Mismatch Error

Mark Sapiro msapiro at value.net
Sat Jan 27 03:25:27 CET 2007

Jay Chandler wrote:
>Mark Sapiro wrote:
>> Jay Chandler wrote:
>>> Postfix (latest stable), FreeBSD 6.2, latest version of Mailman.
>>> Attempted to send a test message to my list.
>>> ommand died with status 2: "/usr/local/mailman/mail/mailman post
>>>    netoplist". Command output: Group mismatch error.  Mailman expected the
>>>    mail wrapper script to be executed as group "nobody", but the system's mail
>>>    server executed the mail script as group "mailman".  Try tweaking the mail
>>>    server to run the script as group "nobody", or re-run configure,  providing
>>>    the command line option `--with-mail-gid=mailman'.
>>> Yet...
>>> mybox# ll
>>> total 38
>>> -rw-r-----  1 root     mailman     41 Jan 26 13:33 adm.pw
>>> -rw-rw----  1 mailman  mailman   1995 Jan 26 13:36 aliases
>>> -rw-rw----  1 mailman  mailman  16384 Jan 26 13:36 aliases.db
>>> -rw-r--r--  1 root     mailman     10 Jan  8 10:32 last_mailman_version
>>> -rw-rw----  1 mailman  mailman      6 Jan 26 11:13 master-qrunner.pid
>>> -rw-r--r--  1 root     mailman  14114 Jan  8 10:32 sitelist.cfg
>>> Is there something blindingly obvious that I'm missing?
>> Maybe. Where did the netoptlist alias come from. Did Postfix find the
>> alias somewhere else (maybe /etc/aliases*) either before or instead of
>> Mailman's data/aliases*?
>Nope-- I created that myself as a test list.
>The other aliases file is owned by root:wheel.

My mistake, I got it backwards. Postfix is executing the wrapper as
mailman:mailman, the owner:group of the aliases. Mailman's wrapper is
expecting group 'nobody'.

You can't change the owner:group of the aliases or list creation won't
be able to update them. This means you need to reconfigure the wrapper
to expect group 'mailman' instead of 'nobody'. There is probably some
FreeBSD port magic way to do this, but I don't know what it is.

Mark Sapiro <msapiro at value.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