Re: [exim] Help with multiple condition ACL needed

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Marc Sherman
Data:  
Para: exim-users
Asunto: 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