[Mailman-Users] mailman and group mismatch error

Mark Sapiro mark at msapiro.net
Fri Jul 31 23:58:51 CEST 2009

Greg White wrote:
># ls -lhZ /etc/aliases*
>-rw-r--r--  root root system_u:object_r:etc_aliases_t  /etc/aliases
>-rw-r--r--  root root system_u:object_r:etc_aliases_t  /etc/aliases.db
># ls -lhZ /etc/mailman/aliases*
>-rw-rw----  root    mailman user_u:object_r:mailman_data_t   /etc/mailman/aliases
>-rw-rw-r--  mailman mailman user_u:object_r:mailman_data_t   /etc/mailman/aliases.db

This looks good. The key thing is that Mailman's aliases.db is owned by

># cat /etc/mailman/aliases
># This file is generated by Mailman, and is kept in sync with the
># binary hash file aliases.db.  YOU SHOULD NOT MANUALLY EDIT THIS FILE
># unless you know what you're doing, and can keep the two files properly
># in sync.  If you screw it up, you're on your own.
># The ultimate loop stopper address
>mailman-loop: /var/lib/mailman/data/owner-bounces.mbox
># STANZA START: mailman
># CREATED: Thu Jul 23 14:23:19 2009
>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
># CREATED: Thu Jul 23 16:21:13 2009
>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"
># STANZA END: test
># postconf -n
>alias_database = hash:/etc/aliases
>alias_maps = hash:/etc/mailman/aliases, hash:/etc/aliases
>command_directory = /usr/sbin
>config_directory = /etc/postfix
>daemon_directory = /usr/libexec/postfix
>debug_peer_level = 2
>home_mailbox = Maildir/
>html_directory = no
>inet_interfaces = localhost
>mail_owner = postfix
>mailq_path = /usr/bin/mailq.postfix
>manpage_directory = /usr/share/man
>mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
>mydomain = xyz.com
>myhostname = list.xyz.com
>mynetworks =,
>myorigin = $mydomain
>newaliases_path = /usr/bin/newaliases.postfix
>queue_directory = /var/spool/postfix
>readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
>recipient_delimiter = +
>relay_domains =
>relayhost =
>sample_directory = /usr/share/doc/postfix-2.3.3/samples
>sendmail_path = /usr/sbin/sendmail.postfix
>setgid_group = postdrop
>smtpd_banner = $myhostname ESMTP $mail_name
>unknown_local_recipient_reject_code = 550
>So do I have everything configured right??
>Do I have to recompile mailman?  If so it looks like I have to recompile starting with ./configure --with-mail-gid=root

The above looks good. what is the exact group mismatch error message
you get in the DSN and/or maillog when you mail to test at list.xyz.com?

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