I am trying to setup a special router which will verify sender's domain
(simple verification) for inbound emails (we receive direct, but send
through smart host).
acl_check_rcpt:
deny message = Sender cannot be verified
log_message = "Reject: sender cannot be verified"
! verify = sender
begin routers
dns_verify:
driver = dnslookup
transport = remote_smtp
domains = +local_domains
verify_only
verify_sender
no_more
begin transports:
remote_smtp:
driver = smtp
But all I'm getting in the logs is:
"Reject: sender cannot be verified": Sender verify failed
Sender verify fail for <sender_address_replaced>: Unrouteable address
Am I tying myself in knots somewhere here? Does the position of
"verify_only" in the router options matter?