Re: [exim] Weird errors with conditions

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Jeremy Harris
Datum:  
To: exim-users @ exim. org
Betreff: 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