SpamAssassin Rule Actions enhancement

Julian Field MailScanner at ecs.soton.ac.uk
Mon Aug 20 22:10:24 IST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

That's a really good idea. I have changed SASCORE to SpamScore but 
otherwise I have done a full implementation of what you wanted. So 
instead of a SpamAssassin rule name, you can give any of
    SpamScore>25
    SpamScore>=25
    SpamScore==25
    SpamScore<=25
    SpamScore<25

Note you can only give 1 action per rulename (or spamscore comparison), 
so to correct your example below, you would have to say

SpamAssassin Rule Actions = SpamScore>25=>not-deliver, SpamScore>25=>store

This will be in the next release.

Note that it can be used to implement as many levels of spam actions as 
you want. So if normal spam actions and high-scoring spam actions aren't 
enough for you, you can use this to implement a 3rd or even a 4th level 
of spam actions as well.

Jules.

Gareth wrote:
> How easy would it be to enhance the 'SpamAssassin Rule Actions' section so
> that you could write a rule based on the smapassassin score itself?
> For example :-
> SpamAssassin Rule Actions = SASCORE>25=>not-deliver store
>
> The reason being is that I use the low scoring spam options to mark spam as
> possible spam and deliver it. High scoring marks mail as spam and delivers
> it. I would like to be able to just delete anything which is very high
> scoring.
>
> Thanks
> Gareth
>
>   

Jules

- -- 
Julian Field MEng CITP
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
For all your IT requirements visit www.transtec.co.uk


-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.6.3 (Build 3017)
Charset: ISO-8859-1

wj8DBQFGygNNEfZZRxQVtlQRAkN+AJkBqYI0KBh1X+D0BQxw5AGTSOyjvwCgl5Un
TGbkU+jBhupmH806ZFeAjcw=
=5Uje
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk



More information about the MailScanner mailing list