Re: [exim] Weird errors with conditions

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Yves Goergen
Ημερομηνία:  
Προς: Jakob Hirsch
Υ/ο: exim-users
Αντικείμενο: Re: [exim] Weird errors with conditions
On 20.09.2005 17:36 (+0200), Jakob Hirsch wrote:
> ${if eq {$recipients_count}{1} \
>    {${lookup mysql{MYSQL_Q_SPAMFILTER} {$value}fail}}}

>
> or if you insist on the unnecessary "and":
>
> ${if and { \
>     {eq {$recipients_count} {1}} \
>     {eq {lookup...} {1}}}}


Why is that 'and' unnecessary when I want to check for 'A and B'?
According to the documentation, 'eq' only takes 2 parameters, not 3.

--
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