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