[Mailman-Users] Problem setting up Mailman on Gentoo

Jan Kohnert nospam001-lists at jankoh.dyndns.org
Sun May 29 00:16:42 CEST 2005


Hello, I'm new on this list, so let me all greet you.

I have a wierd problem, which was described before [1] on this list (but 
unfortunatly got no response).

I followed the Gentoo Docs as well as the installation manual on your website, 
but I just can't get Mailman working with postfix.

Alias is set like this in postfix's main.cf:
alias_maps = hash:/etc/mail/aliases, hash:/usr/local/mailman/data/aliases

I looked at both files and they seem to be correct (at least to me):

server /usr/local/mailman/logs # cat ../data/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: /usr/local/mailman/data/owner-bounces.mbox

# STANZA START: mailman
# CREATED: Sat May 28 23:25:05 2005
mailman:             "|/usr/local/mailman/mail/mailman post mailman"
mailman-admin:       "|/usr/local/mailman/mail/mailman admin mailman"
mailman-bounces:     "|/usr/local/mailman/mail/mailman bounces mailman"
mailman-confirm:     "|/usr/local/mailman/mail/mailman confirm mailman"
mailman-join:        "|/usr/local/mailman/mail/mailman join mailman"
mailman-leave:       "|/usr/local/mailman/mail/mailman leave mailman"
mailman-owner:       "|/usr/local/mailman/mail/mailman owner mailman"
mailman-request:     "|/usr/local/mailman/mail/mailman request mailman"
mailman-subscribe:   "|/usr/local/mailman/mail/mailman subscribe mailman"
mailman-unsubscribe: "|/usr/local/mailman/mail/mailman unsubscribe mailman"
# STANZA END: mailman

If I add above lines to /etc/mail/aliases and run newaliases, I get:
May 28 23:51:16 server mail-wrapper: 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'.
May 28 23:51:17 server postfix/local[10690]: BDC4846AA9: 
to=<mailman-owner at the-pojs.dyndns.org>, relay=local, delay=1, status=bounced 
(Command died with status2: "/usr/local/mailman/mail/mailman owner 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'. )
May 28 23:51:17 server postfix/cleanup[10687]: 0B2B646AAA: 
message-id=<20050528215117.0B2B646AAA at jankoh.dyndns.org>

If I not add it, I get:
May 28 23:51:59 server postfix/smtpd[10699]: NOQUEUE: reject: RCPT from 
localhost[127.0.0.1]: 550 <mailman-owner at XXX.tld>: Recipient address 
rejected: User unknown in local recipient table; 
from=<mailman-bounces at XXX.tld> to=<mailman-owner at XXX.tld> proto=ESMTP 
helo=<XXX.tld>
May 28 23:51:59 server postfix/smtpd[10699]: disconnect from 
localhost[127.0.0.1]

I'm sure I just overlooked something obvious, but the only thing I found was 
(as said) [1].

Hoping for an answer.

Best regards Jan

[1] http://mail.python.org/pipermail/mailman-users/2004-July/038094.html

-- 
OpenPGP Public-Key Fingerprint:
0E9B 4052 C661 5018 93C3 4E46 651A 7A28 4028 FF7A



More information about the Mailman-Users mailing list