I do this in acl_smtp_mail:

ASN_DOMAIN = asn.routeviews.org

  warn
    condition = ${lookup dnsdb{>; 
txt=${reverse_ip:$sender_host_address}.ASN_DOMAIN}}
    set acl_c_sender_asn = $value

and later on, I check acl_c_sender_asn, but it seems to be empty.  I
peeked in my named log and I see the query indeed takes place and
returns the expected information.  So why is $value unset (apparently)?
Does it only last till the end of the current expansion?  That is not
the sense I got from the documentation.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to