Hello, I experience undesired strange of Postfix 2.10.2 using the following configuration:
-- virtual_alias_domains = virtual_alias_maps = hash file with contents: "@domain @anotherdomain" virtual_mailbox_domains = hash file with contents: "@anotherdomain" virtual_mailbox_maps = hash file with contents: "foo@anotherdomain" virtual_transport = dovecot -- If I send a mail to foo@anotherdomain, it is being delivered via dovecot. If I send a mail to foo@domain, it is being forwarded to foo@anotherdomain and then delivered via dovecot. If I send a mail to bar@anotherdomain, it is being rejected. So far everything as expected. But if I send a mail to bar@domain, it is being forwarded to bar@anotherdomain and then delivered via dovecot, although virtual_mailbox_maps does not contain such an address. Thus, virtual_mailbox_maps is being ignored in this case. Delivery takes place without authorization from virtual_mailbox_maps. The manual for postconf(5)#smptd_reject_unlisted_sender says that 'An address is always considered "known" when it matches a virtual(5) alias or a canonical(5) mapping.'. According to this, what I saw is expected behavior. But should it be this way? Is there any possibility to prevent postfix from ignoring virtual_mailbox_maps, except providing each and every single destination address in virtual_alias_maps? The configuration described is a simplification of my actual configuration, which you can find without the actual hostnames at http://pastebin.com/8Jx0q68b Thank you in advance for your help! Regards, Christoph