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?


Rob
-- 
## 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