[Mailman-Users] mailman and group mismatch error

Mark Sapiro mark at msapiro.net
Sat Aug 1 22:49:52 CEST 2009


Greg White wrote:
>
>I then use mutt (still as root) to send an email and this is what I see in /var/log/maillog
>Aug  1 13:21:44 list postfix/postfix-script: starting the Postfix mail system
>Aug  1 13:21:44 list postfix/master[2494]: daemon started -- version 2.3.3, configuration /etc/postfix
>Aug  1 13:22:23 list Mailman mail-wrapper: Group mismatch error. Mailman expected the mail wrapper script to be executed as one of the following groups: [mail, postfix, mailman, nobody, daemon], but the system's mail server executed the mail script as group: "root". Try tweaking the mail server to run the script as one of these groups: [mail, postfix, mailman, nobody, daemon], or re-run configure providing the command line option: '--with-mail-gid=root'.


Now that I've thought about this a bit more, I think I see it more
clearly. To summarize, the above message was written by the wrapper
itself when you ran it from the command line as root.


>Aug  1 13:25:01 list postfix/pickup[2498]: C122C8604E0: uid=41 from=
>Aug  1 13:25:01 list postfix/cleanup[2767]: C122C8604E0: message-id=
>Aug  1 13:25:01 list postfix/qmgr[2499]: C122C8604E0: from=, size=625, nrcpt=1 (queue active)
>Aug  1 13:25:02 list postfix/local[2769]: C122C8604E0: to=, orig_to=, relay=local, delay=0.51, delays=0.25/0.05/0/0.21, dsn=2.0.0, status=sent (delivered to command: /usr/lib/mailman/mail/mailman post mailman)
>Aug  1 13:25:02 list postfix/qmgr[2499]: C122C8604E0: removed


And these messages indicate a successful delivery to the wrapper by
Postfix with no group mismatch error of the message you sent with mutt.

So you don't have a group mismatch problem. The only group mismatch
errors occur when you run the wrapper by hand as the 'wrong' user
which is supposed to produce the group mismatch error so everything is
working.

If your posts are not reaching the 'mailman' list, there is some reason
other than aliases or group mismatch for it. See the FAQ at
<http://wiki.list.org/x/A4E9>.

-- 
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