PDA

View Full Version : Filtering on "Spam Score" in Account Level filter does not appear to work



CapitaineCaverne
02-11-2012, 10:21 AM
Hi,

I am trying to use the account level filter to filter spam messages according to their spam score.

Messages that have been marked as spam with a score <5 will be moved to a Junk folder.
Other with a higer rank will simply be discarded.

In the Account Level Filter, there are 3 criteria that I can use
- Spam Status
- Spam Score
- Spam Bar

However, when I try to use Spam Score as the criteria, nothing happens.

I just wanted to check whether it was supposed to work. What I would expect from this filter is to read the value from the following header and act according to it

X-Spam-Status: Yes, score=13.3 required=3.1 tests=FSL_HELO_NON_FQDN_1,
HELO_NO_DOMAIN,RCVD_IN_BRBL_LASTEXT,RCVD_IN_DNSWL_ BLOCKED,RCVD_IN_SORBS_DUL,
RDNS_NONE,URIBL_AB_SURBL,URIBL_DBL_SPAM,URIBL_WS_S URBL shortcircuit=no
autolearn=disabled version=3.3.1

Thanks
S.

CapitaineCaverne
02-14-2012, 09:19 AM
Found the answer to my woes. Apparently exim (used in the filtering) process, does not like decimal value it can find in the spam assassin score.
What I needed to do is edit the spam assassin filter to enable the X-Spam-Score header and then I used regex matching: More here http://clissmann.com/computer/SpamAssasin_cPanel.htm. Not very pretty but it works

Thanx for those who have read the message.