Re: [exim] Logging ACL denies

Pàgina inicial
Delete this message
Reply to this message
Autor: Peter Velan
Data:  
A: exim-users
Assumpte: Re: [exim] Logging ACL denies
am 05.08.2009 13:14 schrieb David Cantrell:
> In my ACLs I have this:
>
>   deny
>     message = sender IP $sender_host_address is blacklisted (in $host_data)
>     !acl = acl_whitelist_local_deny
>     hosts = ${if exists{CONFDIR/local_host_blacklist}\
>                  {CONFDIR/local_host_blacklist}\
>                  {}}

>
> It works, except that the (in $host_data) bit is interpolating nothing
> for the variable.


$sender_host_name [1] or $sender_helo_name [2] comes in mind.

[1] is reverse DNS of $sender_host_address
[2] is argument of HELO/EHLO

HTH,
Peter