Autor: Rob Gunther Data: A: Exim Mailing List Assumpte: [exim] Access $domain in ACL?
I am using acl_smtp_data to execute anti-spam/anti-virus checks.
It works fine.
I'm now trying to use logwrite if the result of the scan indicates the
message contains a virus. That part is also working, when a virus is
detected I can write to the log.
The problem is, I want to include the domain of the recipient in the log
but $domain comes up empty.
I can write the spam score and $sender_address_domain without issue.
What is the requirement for $domain to be populated?