[exim] eq condition question

Top Page
Delete this message
Reply to this message
Author: Arturs Tiltins
Date:  
To: exim-users
Subject: [exim] eq condition question
hallo,

i'm trying to set rule for spam handling after its identified by
kaspersky antispam.

in routers section of exim config file is following:

kas_mark_router:
condition = "${if !eq {h_X-Spamtest-Info}{Pass through} {1}{0}}"
driver = accept
transport = kas_local_delivery

in message headers i see:

X-SpamTest-Version: SMTP-Filter Version 2.0.0 [0125], KAS/Release
X-Spamtest-Info: Pass through

in exim log i see:

2005-12-13 15:52:34 1EmAa2-0000w5-EB <= x@??? H=yyy.yyy.yy
(antispam.localhost) [127.0.0.1] P=smtp S=512 T="asdf dffds" from
<x@???> for zz@???
2005-12-13 15:52:34 1EmAa2-0000w5-EB => zz <zz@???> R=kas_mark_router
T=kas_local_delivery
2005-12-13 15:52:34 1EmAa2-0000w5-EB Completed

so, that condition rule works incorrect.

what i'm doing wrong?

thanx in advance,
A.