Unable to post to list - Command died with status 2

Good Morning, I am in the process of setting up a replacement mailman server and so far things are going well. I did have 2.1.22 and upgraded to 2.1.23. The point where I am stuck is when I try to post to the mailman list I receive the following error below. When I setup mailman I used the following command: ./configure --with-mail-gid=mailman --with-cgi-gid=apache
Upon seeing the error below I reran the configure command with the 'nobody' and reran the make, make install but that broke the web interface. I have searched online but cannot find a solution.
<mailman@box.washlaw.edu>: Command died with status 2: "/usr/local/mailman/mail/mailman post mailman". Command output: 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 "nobody". Try tweaking the mail server to run the script as group "mailman", or re-run configure, providing the command line option `--with-mail-gid=nobody'.
Jewel Makda

On 09/12/2016 06:45 AM, Jewel Brueggeman-Makda wrote:
Is the MTA Postfix? If so, the problem is your Mailman aliases.db file is not owned by 'mailman' (probably by root) and --with-mail-gid=mailman should be correct.
What does "broke the web interface" mean? If you look in apache's error log, there may be a group mismatch error there. Are you shure the web server runs as user 'apache' and not 'www-data' or something else. Try
ps -fwwA|egrep '(apache|httpd)'
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

-----Original Message----- From: Mailman-Users [mailto:mailman-users-bounces+jewel.makda=washburn.edu@python.org] On Behalf Of Mark Sapiro Sent: Monday, September 12, 2016 8:47 PM To: mailman-users@python.org Subject: Re: [Mailman-Users] Unable to post to list - Command died with status 2
On 09/12/2016 06:45 AM, Jewel Brueggeman-Makda wrote:
Is the MTA Postfix? If so, the problem is your Mailman aliases.db file is not owned by 'mailman' (probably by root) and --with-mail-gid=mailman should be correct. Yes, I am running Postfix. The /usr/local/mailman/data/aliases file showed the owner as root and group as mailman. I ran: chown mailman:mailman aliases and also: chmod g+w This so far didn't resolve the issue.
What does "broke the web interface" mean? If you look in apache's error log, there may be a group mismatch error there. Are you shure the web server runs as user 'apache' and not 'www-data' or something else. Try My web interface works now. It was a Mailman CGI Error! Message. Once I ran ./configure back to using apache it worked.
ps -fwwA|egrep '(apache|httpd)' root 14389 14278 0 09:59 pts/1 00:00:00 egrep (apache|httpd) apache 18760 21506 0 Sep11 ? 00:00:02 /usr/sbin/httpd apache 18761 21506 0 Sep11 ? 00:00:02 /usr/sbin/httpd apache 18762 21506 0 Sep11 ? 00:00:02 /usr/sbin/httpd apache 18763 21506 0 Sep11 ? 00:00:02 /usr/sbin/httpd apache 18764 21506 0 Sep11 ? 00:00:02 /usr/sbin/httpd apache 18765 21506 0 Sep11 ? 00:00:02 /usr/sbin/httpd apache 18766 21506 0 Sep11 ? 00:00:02 /usr/sbin/httpd apache 18767 21506 0 Sep11 ? 00:00:02 /usr/sbin/httpd apache 20542 21506 0 Sep11 ? 00:00:01 /usr/sbin/httpd root 21506 1 0 Mar15 ? 00:00:07 /usr/sbin/httpd
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/jewel.makda%40washburn...

On 09/13/2016 09:02 AM, Jewel Brueggeman-Makda wrote:
It is the aliases.db file that MUST be owned (not just group) by 'mailman'. See the DELIVERY RIGHTS section in 'man local'
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

-----Original Message----- From: Mark Sapiro [mailto:mark@msapiro.net] Sent: Tuesday, September 13, 2016 11:39 AM To: Jewel Brueggeman-Makda <jewel.brueggeman-makda@washburn.edu>; mailman-users@python.org Subject: Re: [Mailman-Users] Unable to post to list - Command died with status 2
On 09/13/2016 09:02 AM, Jewel Brueggeman-Makda wrote:
It is the aliases.db file that MUST be owned (not just group) by 'mailman'. See the DELIVERY RIGHTS section in 'man local' I changed the owner to mailman and reloaded postfix: chown mailman:mailman /usr/local/mailman/data/aliases* chmod g+w /usr/local/mailman/data/aliases* postfix reload
I continue to get the same Group Mismatch error:
<mailman@box.washlaw.edu>: Command died with status 2: "/usr/local/mailman/mail/mailman post mailman". Command output: 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 "nobody". Try tweaking the mail server to run the script as group "mailman", or re-run configure, providing the command line option `--with-mail-gid=nobody'.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On September 13, 2016 10:11:05 AM PDT, Jewel Brueggeman-Makda <jewel.brueggeman-makda@washburn.edu> wrote:
What's in postfix main.cf alias_maps?
Look in those files in the order listed for list aliases. Ensure they are only in Mailman's data/aliases.
-- Mark Sapiro <mark@msapiro.net> Sent from my Not_an_iThing with standards compliant, open source software.

On 09/12/2016 06:45 AM, Jewel Brueggeman-Makda wrote:
Is the MTA Postfix? If so, the problem is your Mailman aliases.db file is not owned by 'mailman' (probably by root) and --with-mail-gid=mailman should be correct.
What does "broke the web interface" mean? If you look in apache's error log, there may be a group mismatch error there. Are you shure the web server runs as user 'apache' and not 'www-data' or something else. Try
ps -fwwA|egrep '(apache|httpd)'
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

-----Original Message----- From: Mailman-Users [mailto:mailman-users-bounces+jewel.makda=washburn.edu@python.org] On Behalf Of Mark Sapiro Sent: Monday, September 12, 2016 8:47 PM To: mailman-users@python.org Subject: Re: [Mailman-Users] Unable to post to list - Command died with status 2
On 09/12/2016 06:45 AM, Jewel Brueggeman-Makda wrote:
Is the MTA Postfix? If so, the problem is your Mailman aliases.db file is not owned by 'mailman' (probably by root) and --with-mail-gid=mailman should be correct. Yes, I am running Postfix. The /usr/local/mailman/data/aliases file showed the owner as root and group as mailman. I ran: chown mailman:mailman aliases and also: chmod g+w This so far didn't resolve the issue.
What does "broke the web interface" mean? If you look in apache's error log, there may be a group mismatch error there. Are you shure the web server runs as user 'apache' and not 'www-data' or something else. Try My web interface works now. It was a Mailman CGI Error! Message. Once I ran ./configure back to using apache it worked.
ps -fwwA|egrep '(apache|httpd)' root 14389 14278 0 09:59 pts/1 00:00:00 egrep (apache|httpd) apache 18760 21506 0 Sep11 ? 00:00:02 /usr/sbin/httpd apache 18761 21506 0 Sep11 ? 00:00:02 /usr/sbin/httpd apache 18762 21506 0 Sep11 ? 00:00:02 /usr/sbin/httpd apache 18763 21506 0 Sep11 ? 00:00:02 /usr/sbin/httpd apache 18764 21506 0 Sep11 ? 00:00:02 /usr/sbin/httpd apache 18765 21506 0 Sep11 ? 00:00:02 /usr/sbin/httpd apache 18766 21506 0 Sep11 ? 00:00:02 /usr/sbin/httpd apache 18767 21506 0 Sep11 ? 00:00:02 /usr/sbin/httpd apache 20542 21506 0 Sep11 ? 00:00:01 /usr/sbin/httpd root 21506 1 0 Mar15 ? 00:00:07 /usr/sbin/httpd
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/jewel.makda%40washburn...

On 09/13/2016 09:02 AM, Jewel Brueggeman-Makda wrote:
It is the aliases.db file that MUST be owned (not just group) by 'mailman'. See the DELIVERY RIGHTS section in 'man local'
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

-----Original Message----- From: Mark Sapiro [mailto:mark@msapiro.net] Sent: Tuesday, September 13, 2016 11:39 AM To: Jewel Brueggeman-Makda <jewel.brueggeman-makda@washburn.edu>; mailman-users@python.org Subject: Re: [Mailman-Users] Unable to post to list - Command died with status 2
On 09/13/2016 09:02 AM, Jewel Brueggeman-Makda wrote:
It is the aliases.db file that MUST be owned (not just group) by 'mailman'. See the DELIVERY RIGHTS section in 'man local' I changed the owner to mailman and reloaded postfix: chown mailman:mailman /usr/local/mailman/data/aliases* chmod g+w /usr/local/mailman/data/aliases* postfix reload
I continue to get the same Group Mismatch error:
<mailman@box.washlaw.edu>: Command died with status 2: "/usr/local/mailman/mail/mailman post mailman". Command output: 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 "nobody". Try tweaking the mail server to run the script as group "mailman", or re-run configure, providing the command line option `--with-mail-gid=nobody'.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On September 13, 2016 10:11:05 AM PDT, Jewel Brueggeman-Makda <jewel.brueggeman-makda@washburn.edu> wrote:
What's in postfix main.cf alias_maps?
Look in those files in the order listed for list aliases. Ensure they are only in Mailman's data/aliases.
-- Mark Sapiro <mark@msapiro.net> Sent from my Not_an_iThing with standards compliant, open source software.
participants (2)
-
Jewel Brueggeman-Makda
-
Mark Sapiro