Re: [exim] Access $domain in ACL?

2019-09-16 Thread Heiko Schlittermann via Exim-users
Heiko Schlittermann via Exim-users (Mo 16 Sep 2019 08:57:19 CEST): > > The data ACL runs *once* per message. The message can have multiple > recipients, so which domain do you expect in $domain? I should have read your mail properly. You want to know the list of recipient domains in your DATA ac

Re: [exim] Access $domain in ACL?

2019-09-16 Thread Heiko Schlittermann via Exim-users
Rob Gunther via Exim-users (Mo 16 Sep 2019 03:22:45 CEST): > Bummer, I see the $domain variable is not available. RTFM and I see the > following note: > > 15. Data for message ACLs > In the case of RCPT (but not MAIL or DATA), $domain and $local_part are set > from the argument address. The entir

Re: [exim] Access $domain in ACL?

2019-09-15 Thread Sebastian Nielsen via Exim-users
multiple recipients on the same server. -Ursprungligt meddelande- Från: Exim-users För Rob Gunther via Exim-users Skickat: den 16 september 2019 03:27 Till: Exim Mailing List Ämne: Re: [exim] Access $domain in ACL? Bummer, I see the $domain variable is not available. RTFM and I see the

Re: [exim] Access $domain in ACL?

2019-09-15 Thread Rob Gunther via Exim-users
Bummer, I see the $domain variable is not available. RTFM and I see the following note: 15. Data for message ACLs In the case of RCPT (but not MAIL or DATA), $domain and $local_part are set from the argument address. The entire SMTP command is available in $smtp_command. That sucks, as I don't k

[exim] Access $domain in ACL?

2019-09-15 Thread Rob Gunther via Exim-users
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 doma