[Exim] Failed to expand condition

Página Inicial
Delete this message
Reply to this message
Autor: Simon Barr
Data:  
Para: Exim Users
Assunto: [Exim] Failed to expand condition
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

The mailserver.co.uk domain is just one I'm using for testing on this
box and will be changed later.

The condition is on the following director. A message should only pass
through the razor check if it hasn't already or it has been sent from a
local address.

razor_check:
driver = smartuser
transport = razor_check_pipe
# condition = ${if eq {$received_protocol}{razor_checked}{no}{yes}}
condition = ${if and {eq {$sender_address_domain}{mailserver.co.uk}} {eq
{$received_protocol}{razor_checked}} {no}{yes}}

If I use the hashed out line instead the director works fine, but all
mails get checked and the overhead is quite large.

Any ideas gratefully received.

TIA

Simon Barr
Systems Engineer

Chelsing Assemblies Ltd
Tel: 01992 554-566
Fax: 01992 553-644
E-mail: simon.barr@???