You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Jeff Portwine <jd...@michigandrill.com> on 2007/03/13 16:40:42 UTC
Bayes not functioning?
Hi everybody,
For the past couple of weeks, spamassassin has all but completely stopped blocking email. I am running spamassassin 3.1.0 with exim 3.35. I haven't added any custom rules or anything, it's pretty much a vanilla SA install. In the past, some spam still got past it but it was at an acceptable level, and I just made sure that I kept training the bayes db with new spam whenever I received it. Now however, there is more spam getting through than being stopped. In the past when this has happened, it was due to a corrupt bayes database and simply doing a sa-learn --clear and re-training the database fixed it. It is not fixing it this time though. I've been trying to retrain the database for over 2 weeks and the amount of spam that is getting through is just insane...
We've been running SA here for a long time, but I normally don't mess with it... because it works just fine on its own.. so even though I've been using it a while I'm still pretty much an SA newbie. Does anybody have any suggestions that might help?
The spam that is getting through, is getting scored by SA but it's getting low scores... usually ~4.5 (need 5 to mark as spam)... so I'm really not sure what's going on.
Thanks very much!
-Jeff
Re: Bayes not functioning?
Posted by Anthony Peacock <a....@chime.ucl.ac.uk>.
Hi,
Jeff Portwine wrote:
>
>
> Hi everybody,
>
> For the past couple of weeks, spamassassin has all but completely
> stopped blocking email. I am running spamassassin 3.1.0 with
> exim 3.35. I haven't added any custom rules or anything, it's pretty
> much a vanilla SA install. In the past, some spam still got past it
> but it was at an acceptable level, and I just made sure that I kept
> training the bayes db with new spam whenever I received it. Now
> however, there is more spam getting through than being stopped. In
> the past when this has happened, it was due to a corrupt bayes database
> and simply doing a sa-learn --clear and re-training the database fixed
> it. It is not fixing it this time though. I've been trying to
> retrain the database for over 2 weeks and the amount of spam that is
> getting through is just insane...
>
> We've been running SA here for a long time, but I normally don't mess
> with it... because it works just fine on its own.. so even though I've
> been using it a while I'm still pretty much an SA newbie. Does
> anybody have any suggestions that might help?
>
> The spam that is getting through, is getting scored by SA but it's
> getting low scores... usually ~4.5 (need 5 to mark as spam)... so I'm
> really not sure what's going on.
You really need to check which rules are hitting. Try saving one of the
emails that gets through as a text file with all headers and run it
through the spamassassin command line...
spamassassin -t < email.txt
This will tell you which rules are being hit. It will also tell you if
your Bayes is working OK. I have never had to rebuild a Bayes database
because it became "corrupted".
If you can also put this test email on a public web site somewhere,
people here will be able to download it and run it against their SA
configs to tell you which rules hit for them. This will give you an
indication of any add on rules you might want to consider.
Generally I would think that you are just running a very old version of
spam assassin, without any updated rules, the newer sorts of spam are
less likely to be caught.
Using the latest version of SA with sa-update to keep the rules up to
date should help a lot.
--
Anthony Peacock
CHIME, Royal Free & University College Medical School
WWW: http://www.chime.ucl.ac.uk/~rmhiajp/
"If you have an apple and I have an apple and we exchange apples
then you and I will still each have one apple. But if you have an
idea and I have an idea and we exchange these ideas, then each of us
will have two ideas." -- George Bernard Shaw