Unknown user when using virtual mailboxes

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@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@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@daviddator> Mar 4 14:24:58 rus01 postfix/qmgr[6219]: A0C1DC200A9: from=<david.renstrom@gmail.com>, size=2449, nrcpt=1 (queue active) Mar 4 14:24:58 rus01 postfix/pipe[7491]: A0C1DC200A9: to=<test@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@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@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.

David Renstrom wrote:
Are the timestamps on /etc/mailman/virtual-mailman.db and /etc/mailman/aliases.db as recent as those on /etc/mailman/virtual-mailman and /etc/mailman/aliases.
The mail is being piped to the dovecot LDA instead of being delivered by Postfix's 'local' delivery agent. Postfix's local would consult /etc/mailman/aliases.db, but the dovecot LDA apparently does not.
There is probably something in Postfix's transport_maps that tells Postfix to use the dovecot transport for this domain. You may need to override this for list addresses. See the FAQ at <http://wiki.list.org/x/ZoCj> for hints on how to do this.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

David Renstrom wrote:
Are the timestamps on /etc/mailman/virtual-mailman.db and /etc/mailman/aliases.db as recent as those on /etc/mailman/virtual-mailman and /etc/mailman/aliases.
The mail is being piped to the dovecot LDA instead of being delivered by Postfix's 'local' delivery agent. Postfix's local would consult /etc/mailman/aliases.db, but the dovecot LDA apparently does not.
There is probably something in Postfix's transport_maps that tells Postfix to use the dovecot transport for this domain. You may need to override this for list addresses. See the FAQ at <http://wiki.list.org/x/ZoCj> for hints on how to do this.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
David Renstrom
-
Mark Sapiro