Good afternoon. Dovecot is relaying mails to users that do not exist in the virtual_mailbox_maps to the dovecot lmtp. I'm using dovecot's lmtp to deliver mails for a virtual domain. The relevant postfix conf is as follows > virtual_alias_maps = hash:/etc/postfix/virtual > virtual_mailbox_domains = example.com > virtual_mailbox_maps = hash:/etc/postfix/vmailbox > virtual_transport = lmtp:unix:private/dovecot-lmtp
The file virtual contains the following entry > postmas...@example.com postmaster The file vmailbox contains the following entries > testus...@example.com OK > testus...@example.com OK If I send an email to the address testus...@example.com it is successfully delivered to the mailbox as expected but if I send an email to the address testus...@example.com, which isn't listed in the map, it also gets delivered to the dovecot-lmtp process and as dovecot has the option "allow_all_users=yes" in it's userdb it delivers it to a user that doesn't exist. What I make of the documentation found in http://www.postfix.org/VIRTUAL_README.html#in_virtual_other is that if the recipient of the mail isn't listed in the map it should not get delivered to the lmtp process so, is my interpretation of the document wrong or is there something else to it? Thank you very much in advance. Best regards, David Wells.