Re: [exim] Weird errors with conditions

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users @ exim. org
Subject: Re: [exim] Weird errors with conditions
Yves Goergen wrote:
>>condition = ${if {and {{eq{$recipients_count}{1}} {${lookup mysql{MYSQL_Q_SPAMFILTER}{$value}fail}}}} {true}}
>
>
> And here's what I got in the log (amongst others):
>
>>temporarily rejected after DATA: failed to expand ACL string "${if {and {{eq{$recipients_count}{1}} {${lookup mysql{SELECT spamfilter FROM users WHERE CONCAT(local, "@", domain)='${quote_mysql:$recipients}' LIMIT 1}{$value}fail}}}} {true}}": condition name expected, but found "{and {{eq{$recip"


For starters, you don't need that "{" in front of the "and".

- Jeremy