I'm using transport
table to specif the nexthop for specific domain:
Host A:
/etc/postfix/transport
domain.com smtp:[mail.host2.com]:25
Host A
verifies local recipients with lookup table:
local_recipient_maps = proxy:unix:passwd.byname $alias_maps
unknown_local_recipient_reject_code = 550
- but I wonder if there is a way to verify remote recipients on
Host B
fromHost A
at SMTP time to avoid NDR to forged emails.
Update: Mon 28 Jul 13:49:01 BST 2014:
It looks like Exim can do recipient email verification via LMTP so I wonder if Postfix can do the same?
# Perform recipient verification
deny message = Recipient verification failed, Non-existent mailbox
log_message = Recipient verification failed
!verify = recipient/callout=2m,use_postmaster,defer_ok