I'm slightly confused on postfix and virtual users. I have a small site (virtual users and dovecot for delivery) that handles mail for several domains: example.com, example.de, example.fr. The "real" addresses are at example.fr, so I've done the following:
/etc/postfix/main.cf: virtual_alias_maps = hash:/etc/postfix/virtual virtual_mailbox_domains = hash:/etc/postfix/virtual-mailbox-domains virtual_mailbox_maps = hash:/etc/postfix/virtual-mailbox-users virtual_transport = dovecot and /etc/postfix/virtual-mailbox-domains: example.com OK example.de OK example.fr OK and /etc/postfix/virtual: al...@example.com al...@example.fr al...@example.de al...@example.fr b...@example.com b...@example.fr b...@example.de b...@example.fr Now /etc/dovecot/passwd.db notes that al...@example.fr and b...@example.fr are valid users with passwords, but that's not enough for postfix to agree to deliver mail, even though SMTP authentication uses those passwords when alice and bob connect to send mail. I think what needs to happen (which is to say, it works for me, but I'm confused by the docs) is that I need to add the following, which I did: /etc/postfix/virtual-mailbox-users: al...@example.fr al...@example.fr b...@example.fr b...@example.fr I've two questions: 1. Did I understand correctly? 2. Why two identical columns in virtual-mailbox-users? Thanks for helping me understand. -- Jeff Abrahamson +33 6 24 40 01 57 +44 7920 594 255 http://p27.eu/jeff/ http://mobilitains.fr/