4 Mar 2012 14:28
Unknown user when using virtual mailboxes
David Renstrom <david <at> davidrenstrom.com>
2012-03-04 13:28:33 GMT
2012-03-04 13:28:33 GMT
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
(Continue reading)
RSS Feed