> On Sep 26, 2019, at 3:29 PM, David Wells - Alfavinil S.A. > <dwe...@alfavinil.com> wrote: > > 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
Depends on *how* you send it. The unlisted address should be rejected via SMTP, but would be accepted via local submission. > 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? Once the message enters the queue, recipient validation is no longer in scope, and it is delivered to the transport for the destination. -- Viktor.