Re: [Exim] Failed to expand condition

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Nico Erfurth
Ημερομηνία:  
Προς: simon.barr
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] Failed to expand condition
Simon Barr wrote:
> Hi,
>
> Could anyone tell me why my condition fails with:
>
> 2002-06-11 14:04:55 17Hk7p-00005u-00 failed to expand condition"${if and {eq
> {$sender_address_domain}{mailserver.co.uk}} {eq
> {$received_protocol}{razor_checked}} {no}{yes}}" for razor_check director:
> subcondition in {} expected inside "and{...}" condition


IMHO: the condition should look like that, you missed the {} around the
parameters for "and"

condition = ${if and {{eq {$sender_address_domain}{mailserver.co.uk}}
             {eq{$received_protocol}{razor_checked}}} {no}{yes}}