Re: [exim] Help with multiple condition ACL needed

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Marc Sherman
Date:  
À: exim-users
Sujet: Re: [exim] Help with multiple condition ACL needed
Exim User wrote:
>
> condition = "${if and { \
>               { >{$spam_score_int}{150}} \
>               { eq{${domain}{mydomain.com}}}\
>               } \ 
>               {1}{0}}"

>
>
> All I get is
>> temporarily rejected after DATA: failed to expand ACL string,
>> missing 2nd string in {} after "eq" inside "and{...}" condition


As the error states, eq takes two string params, and you've only given
it one. You need an extra }{ between ${domain} and {mydomain.com}.

- Marc