[exim] Problem with condition

Top Page
Delete this message
Reply to this message
Author: Kai Riasol
Date:  
To: exim-users
Subject: [exim] Problem with condition
Hi,

i have a problem with the following router.

all of our emails pass thrue the spamassassin which marks the emails
like "X-SA-Spambar: ++++++++".
I have build this router which apply to all emails for the domain1.de.
Also emails with one "+". But i want that the router only apply if the
"X-SA_Spambar:" has minum five or more of "+".

virtual_local_spam_mailbox:
driver = accept
domains = domain1.de
condition = ${if eq{$h_X-SA-Spambar:}{+++++}}
transport = local_mysqluser_spam

what do i wrong?

thx

kai