Re: [exim] Weird errors with conditions

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Jeremy Harris
Data:  
Para: exim-users @ exim. org
Asunto: 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