Thoughts on conditional filter

Mike Oliveri <[email protected]> Thu, 19 May 2005 14:09:03 -0500
Newsgroups gmane.mail.exim.exiscan.user
Message-ID <[email protected]>
Hi folks,

I just wanted to get some input on the following before I implement it:

warn message = X-Scan-Signature: ${hmac{md5}{xxxxxx}{$body_linecount}}
	condition = ${if <{$spam_score_int}{60}{1}{0}}

Here's my thinking:

a) This is on a mail gateway that is frequently getting overloaded. To 
cut the load, I'd like to add the defer_ok option to the SpamAssassin 
checks. However, I would like the Scan Signature to NOT be set if that's 
the case, so the destination server (also running Exim/Exiscan and 
SpamAssassin) will check it for spam in case the gateway has not.

b) We reject all spam scores 6.0 or greater with the condition
${if >{$spam_score_int}{59}{1}{0}}.  Above I'm thinking I'll do the 
inverse and anything scoring less than 6 (which should be everything 
scanned but not bounced) will get the Scan-Signature line.

Does this make sense to you all? Will it work? I don't have a test 
environment to play with, unfortunately.

Take care,
Mike Oliveri
Systems Administrator
UTI Systems, Inc.