Re: [exim] Weird errors with conditions

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Yves Goergen
Ημερομηνία:  
Προς: Jeremy Harris
Υ/ο: exim-users @ exim. org
Αντικείμενο: Re: [exim] Weird errors with conditions
Once again for the list...

On 20.09.2005 15:53 (+0200), Jeremy Harris wrote:
> 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".


'I don't need it' or 'this is definitely wrong'? I tried a whole bunch
of combinations, I think you can see them in the log error messages.

--
Yves Goergen "LonelyPixel" <nospam.list@???>
"People think I've stopped lying... but I've just gotten better at it."
http://newsboard.unclassified.de - Unclassified NewsBoard Forum