Is $sender_address_domain available for expansion in a router option,
when the router is run for sender verification?
I have this router:
remote_verify_sender:
verify_only
no_verify_recipient
driver = dnslookup
domains = ! +local_domains
address_data = ${lookup {$sender_address_domain} wildlsearch,ret=key \
{SITECONFDIR/pass-lookup.txt} {$value}{}}
no_more
It is the first router in the config order. Here is pass-lookup.txt in
its full glory:
*
I know, I know! Here is the ACL where the verification happens:
require log_reject_target = reject
verify = sender
set acl_m_sender_domain = $sender_address_data
Nonetheless, in a downstream ACL, $acl_m_sender_domain appears to be
empty.
I have run exim -be and gave it the lookup above, only with the variable
replaced with the literal domain giving trouble. That works as expected,
i.e. the domain gets echoed back as the result of the expansion.
--
Ian
--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## [email protected]
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/