Re: [exim] Help with multiple condition ACL needed

Pàgina inicial
Delete this message
Reply to this message
Autor: Marc Sherman
Data:  
A: exim-users
Assumpte: 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