Re: [exim] help with rcpt acls

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Thunder
Data:  
Para: exim-users
Assunto: Re: [exim] help with rcpt acls
On 2015-11-02 21:19, Jeremy Harris wrote:
> On 01/11/15 23:26, Thunder wrote:
>> It's really an if(condition1 && condition2) are met, then the rule
>> only
>> applies then. But I cannot get my head around how multiple conditions
>> and how if's work in exim. The documentation still has me scratching
>> my
>> head.
>
>
> http://exim.org/exim-html-current/doc/html/spec_html/ch-access_control_lists.html#SECID199
>
> ACL's, section 17:
>
> "If all the conditions are met, the verb is obeyed."
>
> --
> Jeremy


Hi Jeremy,

So something like this would be valid?

drop message   = Nice try...
      condition = 
${lookup{$sender_host_name}wildlsearch{/usr/local/etc/exim/dynamicranges}{true}{false}}
      condition = ${if eq {$received_port}{25}}


A.