[Mailman-Users] Unknown user when using virtual mailboxes

David Renstrom david at davidrenstrom.com
Sun Mar 4 14:28:33 CET 2012


Hi,

I've set up a system with Postfix, Dovecot and Mailman under Fedora. I'm
using MySQL and Postfixadmin to administrate the virtual mailboxes. I'm
unable to get emails delivered to the mailing lists created with Mailman
though. I've added the required strings to alias_maps and virtual_alias_maps
in main.cf of Postfix:

alias_maps = hash:/etc/mailman/aliases, mysq:/etc/postfix/alias_sql.cf
virtual_alias_maps = hash:/etc/mailman/virtual-mailman,
mysql:/etc/postfix/virtual_mailbox.sql.cf

I've created a mailing list called test for my virtual domain mydomain.se
and everything seems to be correct in /etc/mailman/virtual-mailman and
/etc/mailman/aliases.

Example from /etc/mailman/virtual-mailman:
test at mydomain.se	test

Example from /etc/mailman/aliases:
test:	"|/usr/lib/mailman/mail/mailman post test"

I've also added the following string to /etc/mailman/mm_cfg.py:
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mydomain.se']
add_virtualhost('www.mydomain.se', 'mydomain.se')
MTA = 'Postfix'

Why do I get the "Unknown user" reply from Postfix when sending an email to
test at mydomain.se? What could I have missed? I've tried to Google this
problem but have come up with nothing really useful. Could you please point
me in the right direction?

This is some output from the /var/log/maillog file:
Mar  4 14:24:58 rus01 postfix/smtpd[7481]: connect from
unknown[209.85.215.50]
Mar  4 14:24:58 rus01 postfix/smtpd[7481]: A0C1DC200A9:
client=unknown[209.85.215.50]
Mar  4 14:24:58 rus01 postfix/cleanup[7490]: A0C1DC200A9:
message-id=<89683CF8C82A4F509FA3F905D1C696BA at daviddator>
Mar  4 14:24:58 rus01 postfix/qmgr[6219]: A0C1DC200A9:
from=<david.renstrom at gmail.com>, size=2449, nrcpt=1 (queue active) 
Mar  4 14:24:58 rus01 postfix/pipe[7491]: A0C1DC200A9: to=<test at usnorr.se>,
relay=dovecot, delay=0.14, delays=0.1/0.01/0/0.04, dsn=5.1.1, status=bounced
(user unknown) 
Mar  4 14:24:58 rus01 postfix/cleanup[7490]: B873CC205D1:
message-id=<20120304132458.B873CC205D1 at rus01.usnorr.se>
Mar  4 14:24:58 rus01 postfix/bounce[7496]: A0C1DC200A9: sender non-delivery
notification: B873CC205D1 
Mar  4 14:24:58 rus01 postfix/qmgr[6219]: B873CC205D1: from=<>, size=4205,
nrcpt=1 (queue active) 
Mar  4 14:24:58 rus01 postfix/qmgr[6219]: A0C1DC200A9: removed 
Mar  4 14:25:00 rus01 postfix/smtp[7499]: B873CC205D1:
to=<david.renstrom at gmail.com>,
relay=gmail-smtp-in.l.google.com[209.85.173.26]:25, delay=1.5,
delays=0.01/0.01/0.51/1, dsn=2.0.0, status=sent (250 2.0.0 OK 1330867500
r7si5594416lbe.63) 
Mar  4 14:25:00 rus01 postfix/qmgr[6219]: B873CC205D1: removed

Cheers,
/David R.



More information about the Mailman-Users mailing list