Mailman/Postfix and the dreaded group mismatch

Bill Christensen billc_lists at
Fri Oct 8 11:24:27 PDT 2010

Well son of a gun.

I went back to double check my changes in the Mailman portfile and they
weren't there.  After entering them again  - and removing the original
"--with-mail-gid=${mmgroup}" which I had missed last time  - everything
appears to be working correctly now.

Thanks!  Sometimes it just takes another pair of eyes.

On Fri, Oct 8, 2010 at 7:25 AM, Andrea D'Amore <and.damore at>wrote:

> On Thu, Oct 7, 2010 at 8:08 PM, Bill Christensen
> <billc_lists at> wrote:
> > I'm using
> > Fetchmail (MacPorts install) to retrieve the mail from the 3rd party
> server
> > and deliver it to Mailman, and then sending out via the existing Postfix
> > server.   The error I'm seeing when running Fetchmail is:
> > fetchmail: IMAP> A0009 FETCH 2 BODY.PEEK[TEXT]
> > Group mismatch error.  Mailman expected the mail
> > wrapper script to be executed as group "_mailman", but
> > the system's mail server executed the mail script as
> > group "staff".  Try tweaking the mail server to run the
> > script as group "_mailman", or re-run configure,
> > providing the command line option `--with-mail-gid=staff'.
> > fetchmail: IMAP< * 2 FETCH (BODY[TEXT] {25}
> >  (25 body octets) *
> From what you write I'd say it's a fetchmail issue rather than a
> mailman one, i.e. fetchmail is invoking mailman as part of its task
> and is using a wrong gid, cf. <>
> > I went into the Mailman portfile and added --with-mail-gid=staff to the
> > configure, port uninstalled and reinstalled.  I'm still getting the same
> > error.  Do I need to do something else to 'clean' the install of the old
> > settings?
> This seems wrong, did you put "--with-mail-gid=staff" before
> ""--with-mail-gid=${mmgroup}"?
> You could be still replacing the option you just added, you'd better
> edit the "set mmgroup mailman" line upward.
> > Or do any of you know what to change on the Postfix end in order to
> "tweak
> > the mail server to run the script as group '_mailman'?
> I had a look at mailmain image, but I couldn't see any "mailman" group
> in both LaunchDaemon plist or in the wrapper that is passed to
> daemondo, can anyone explain how mailman.wrapper is normally run with
> the correct gid?
> --
> Andrea
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list