Re: [exim] Help with multiple condition ACL needed

Top Page
Delete this message
Reply to this message
Author: Marc Sherman
Date:  
To: exim-users
Subject: 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