
Dear List,
I hope I find you all well. I hope someone can point me in the right direction. I am getting this group mismatch error on my list server:
===== mailman@lists.me.com R=mailman_router T=mailman_transport: Child process of mailman_transport transport returned 2 from command: /usr/local/mailman/mail/mailman
My server specs are as follows:
===== FreeBSD 8.2 Exim 4.76 Python 2.7.2 Mailman 2.1.14
On checking again, I get:
/usr/local/mailman/mail/mailman post Group mismatch error. Mailman expected the mail wrapper script to be executed as group "mail", but the system's mail server executed the mail script as group "wheel". Try tweaking the mail server to run the script as group "mail", or re-run configure, providing the command line option `--with-mail-gid=wheel'.
... and this was after I had recompiled mailman with wheel as the "gid" which it was expecting. Before then it was giving me:
===== Group mismatch error. Mailman expected the mail wrapper script to be executed as group "mailman other mail daemon", but the system's mail server executed the mail script as group "wheel". Try tweaking the mail server to run the script as group "mailman other mail daemon", or re-run configure, providing the command line option `--with-mail-gid=wheel'.
I am not sure what I am missing.
Many thanks,
Molla.

Mollatt Ntini wrote:
I hope I find you all well. I hope someone can point me in the right direction. I am getting this group mismatch error on my list server:
===== mailman@lists.me.com R=mailman_router T=mailman_transport: Child process of mailman_transport transport returned 2 from command: /usr/local/mailman/mail/mailman
My server specs are as follows:
===== FreeBSD 8.2 Exim 4.76 Python 2.7.2 Mailman 2.1.14
On checking again, I get:
/usr/local/mailman/mail/mailman post Group mismatch error. Mailman expected the mail wrapper script to be executed as group "mail", but the system's mail server executed the mail script as group "wheel". Try tweaking the mail server to run the script as group "mail", or re-run configure, providing the command line option `--with-mail-gid=wheel'.
... and this was after I had recompiled mailman with wheel as the "gid" which it was expecting. Before then it was giving me:
===== Group mismatch error. Mailman expected the mail wrapper script to be executed as group "mailman other mail daemon", but the system's mail server executed the mail script as group "wheel". Try tweaking the mail server to run the script as group "mailman other mail daemon", or re-run configure, providing the command line option `--with-mail-gid=wheel'.
I am not sure what I am missing.
First of all, from the first message you quote, it looks like you reconfigured with --with-mail-gid=mail rather than with --with-mail-gid=wheel.
Rather than making further changes to Mailman, you can set the group for the mailman_transport in Exim. See <http://www.exim.org/howto/mailman21.html>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On 10/13/2011 6:35 PM, Mark Sapiro wrote:
Mollatt Ntini wrote:
[SNIP]
First of all, from the first message you quote, it looks like you reconfigured with --with-mail-gid=mail rather than with --with-mail-gid=wheel.
Rather than making further changes to Mailman, you can set the group for the mailman_transport in Exim. See <http://www.exim.org/howto/mailman21.html>. I had actually set the gid=0 which is wheel's group ID in the Makefile. I do not even have the group=mail on my system. I have tried tweaking around according to that link, but still no joy. What do you think should change?
Thanx again.
Molla.

Mollatt Ntini wrote:
I had actually set the gid=0 which is wheel's group ID in the Makefile. I do not even have the group=mail on my system. I have tried tweaking around according to that link, but still no joy. What do you think should change?
I would do the following:
First, I would not use group wheel. It is too privileged. You could use 'mailman', or 'daemon' or some other non-priveleged group that seems appropriate.
Assuming you choose mailman, rerun configure with --with-mail-gid=mailman and make install.
Then in your Exim config in the definition of the mailman_transport transport, put
user = mailman group = mailman
or if you already have something like
user = MM_UID group = MM_GID
find the definitions of these and make them
MM_UID=mailman MM_GID=mailman
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
Mollatt Ntini