[Mailman-Users] mailman and group mismatch error

Greg White pcguy11 at live.com
Mon Aug 3 16:38:23 CEST 2009


> Mark wrote:
>> 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

1)
# /usr/lib/mailman/bin/check_perms
Warning: Private archive directory is other-executable (o+x).
         This could allow other users on your system to read private archives.
         If you're on a shared multiuser system, you should consult the
         installation manual on how to fix this.
No problems found

2a)
# ps aux |grep cron |grep -v grep
root      2503  0.0  0.1   5288  1208 ?        Ss   08:24   0:00 crond
root      2519  0.0  0.0   1668   624 ?        SNs  08:24   0:00 anacron -s

2b)
# ps auxww| grep mailmanctl |grep -v grep
mailman   2615  0.0  0.5  13060  4880 ?        Ss   08:24   0:00 /usr/bin/python /usr/lib/mailman/bin/mailmanctl -s -q start

3)
# grep wrapper /etc/aliases
no results
# grep mailman /etc/aliases
no results

Since my aliases aren't in /etc/aliases I ran the following too:
# grep wrapper /etc/mailman/aliases
no results

# grep mailman /etc/mailman/aliases
mailman-loop: /var/lib/mailman/data/owner-bounces.mbox
# STANZA START: mailman
mailman:             "|/usr/lib/mailman/mail/mailman post mailman"
mailman-admin:       "|/usr/lib/mailman/mail/mailman admin mailman"
mailman-bounces:     "|/usr/lib/mailman/mail/mailman bounces mailman"
mailman-confirm:     "|/usr/lib/mailman/mail/mailman confirm mailman"
mailman-join:        "|/usr/lib/mailman/mail/mailman join mailman"
mailman-leave:       "|/usr/lib/mailman/mail/mailman leave mailman"
mailman-owner:       "|/usr/lib/mailman/mail/mailman owner mailman"
mailman-request:     "|/usr/lib/mailman/mail/mailman request mailman"
mailman-subscribe:   "|/usr/lib/mailman/mail/mailman subscribe mailman"
mailman-unsubscribe: "|/usr/lib/mailman/mail/mailman unsubscribe mailman"
# STANZA END: mailman
test:             "|/usr/lib/mailman/mail/mailman post test"
test-admin:       "|/usr/lib/mailman/mail/mailman admin test"
test-bounces:     "|/usr/lib/mailman/mail/mailman bounces test"
test-confirm:     "|/usr/lib/mailman/mail/mailman confirm test"
test-join:        "|/usr/lib/mailman/mail/mailman join test"
test-leave:       "|/usr/lib/mailman/mail/mailman leave test"
test-owner:       "|/usr/lib/mailman/mail/mailman owner test"
test-request:     "|/usr/lib/mailman/mail/mailman request test"
test-subscribe:   "|/usr/lib/mailman/mail/mailman subscribe test"
test-unsubscribe: "|/usr/lib/mailman/mail/mailman unsubscribe test"

4) Not applicable as sendmail is not installed.
5) Not applicable as sendmail is not installed.

6a) not applicable as I am using 2.1.9-4.el5
6b) no command to run
7) I can't find the locks.
8)
#cat /var/log/mailman/smtp
Aug 03 08:25:03 2009 (2622)  smtp to mailman for 1 recips, completed in 0.101 seconds
Aug 03 08:30:02 2009 (2622)  smtp to mailman for 1 recips, completed in 0.040 seconds
Aug 03 08:35:02 2009 (2622)  smtp to mailman for 1 recips, completed in 0.040 seconds
Aug 03 08:40:05 2009 (2622)  smtp to mailman for 1 recips, completed in 0.039 seconds
Aug 03 08:45:04 2009 (2622)  smtp to mailman for 1 recips, completed in 0.042 seconds
Aug 03 08:50:04 2009 (2622)  smtp to mailman for 1 recips, completed in 0.041 seconds
Aug 03 08:55:04 2009 (2622)  smtp to mailman for 1 recips, completed in 0.040 seconds
Aug 03 09:00:04 2009 (2622)  smtp to mailman for 1 recips, completed in 0.041 seconds
Aug 03 09:00:04 2009 (2622)  smtp to mailman for 1 recips, completed in 0.052 seconds
Aug 03 09:05:03 2009 (2622)  smtp to mailman for 1 recips, completed in 0.041 seconds
Aug 03 09:10:03 2009 (2622)  smtp to mailman for 1 recips, completed in 0.041 seconds
Aug 03 09:15:04 2009 (2622)  smtp to mailman for 1 recips, completed in 0.041 seconds
Aug 03 09:20:04 2009 (2622)  smtp to mailman for 1 recips, completed in 0.041 seconds
Aug 03 09:25:04 2009 (2622)  smtp to mailman for 1 recips, completed in 0.042 seconds
 
#cat /var/log/mailman/qrunner
Aug 03 08:24:27 2009 (2617) ArchRunner qrunner started.
Aug 03 08:24:27 2009 (2620) IncomingRunner qrunner started.
Aug 03 08:24:27 2009 (2619) CommandRunner qrunner started.
Aug 03 08:24:27 2009 (2623) VirginRunner qrunner started.
Aug 03 08:24:27 2009 (2625) RetryRunner qrunner started.
Aug 03 08:24:27 2009 (2621) NewsRunner qrunner started.
Aug 03 08:24:27 2009 (2618) BounceRunner qrunner started.
Aug 03 08:24:27 2009 (2622) OutgoingRunner qrunner started.

The rest were empty or didn't exist.

9) All folders are empty.
10) I added SMTPHOST='127.0.0.1' to my mm_cfy.py, restarted mailman, service stop mailman, service start mailman, tried  sudo -u mailman /usr/lib/mailman/mail/mailman post sjpd
and it still didn't do anything.
11) No mm-handler found

Thanks,


_________________________________________________________________
Get your vacation photos on your phone!
http://windowsliveformobile.com/en-us/photos/default.aspx?&OCID=0809TL-HM


More information about the Mailman-Users mailing list