I'm trying to redirect several email addresses to a specific user, as per: https://www.postfix.org/ADDRESS_REWRITING_README.html#virtual
I've checked my settings and all seems OK: main.cf: relay_domains = virtual_mailbox_domains = hash:/etc/postfix/virtual_mailbox_domains virtual_alias_maps = hash:/etc/postfix/virtual_alias_maps virtual_transport = lmtp transport_maps = hash:/etc/postfix/transport_maps $virtual_mailbox_domains # cat /etc/postfix/virtual_alias_maps [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] # postmap -q [email protected] /etc/postfix/virtual_alias_maps [email protected] However, the virtual alias does not seem to work properly with Postfix dynamic address verification, i.e. it is still trying to use postmaster@ instead of user@: # smtp-source -c -l 10 -s 1 -m 1 -t [email protected] 10.0.5.51:25 smtp-source: fatal: recipient rejected: 550 5.1.1 <[email protected]>: Recipient address rejected: undeliverable address: host vmsrv-node1.home.lan[private/dovecot-lmtp] said: 550 5.1.1 <[email protected]> User doesn't exist: [email protected] (in reply to RCPT TO command) Am I missing something here? Are virtual aliases normally substituted before or after Postfix probe messages? _______________________________________________ Postfix-users mailing list -- [email protected] To unsubscribe send an email to [email protected]
