Re: [exim] Searching through a domain list in a condition (s…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: John Burnham
Date:  
À: 'exim-users@exim.org'
Sujet: Re: [exim] Searching through a domain list in a condition (stringexpansion)

>
> Specifically:
>
> domainlist some_domains = domain1 : domain2
>
> I have a condition in ACL like this:
>
> condition = ${if eq{${lookup{$sender_address_local_part}
> lsearch{/etc/passwd} {true}{false} }} {true} }
>
> Now I need to do a condition for a domain list, but haven't found in
> documentation anything that would allow me to do a similar
> lookup in a
> domainlist.
>


Does it have to be a condition = ? Would domains = work for you ?
<http://www.exim.org/exim-html-current/doc/html/spec_html/ch40.html#SECTaclconditions>

John