You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "Gray, Richard" <ri...@dns.co.uk> on 2004/12/02 14:38:45 UTC

Trashed Bayes DBase

The Bayes DBase we use here was set to the default autolearn levels. 
 
IT was first set about 1 year ago and the first anyone looked at it was
when I started looking at how it was performing.
 
Basically, it was tagging about 75% of mail as BAYES_00 (we receive
about 70% SPAM here), so the BAYES was way off
 
I reset the autolearn level for HAM as -4, as I suspected that it had
been learning things that weren't really ham. The autolearn level for
SPAM stayed the same. I hoped this would be a temporary fix to the
problem, until I could come up with something more permanent.
 
What this actually did, was mean that the Bayes DB kept seeing more and
more SPAM messages with our mail header in it. Hence over time, it began
to think more and more clearly that anything with our mail header in it
was definitely SPAM. 
 
This has finally reached a head and we have had to disable Bayes
altogether until we can iron this out.
 
So, my question is, how on earth do I go about repairing this mess?


---------------------------------------------------
This email from dns has been validated by dnsMSS Managed Email Security and is free from all known viruses.

For further information contact email-integrity@dns.co.uk





Re: Trashed Bayes DBase

Posted by Kris Deugau <kd...@vianet.ca>.
"Gray, Richard" wrote:
> Basically, it was tagging about 75% of mail as BAYES_00 (we receive
> about 70% SPAM here), so the BAYES was way off

[snip]

> This has finally reached a head and we have had to disable Bayes
> altogether until we can iron this out.
> 
> So, my question is, how on earth do I go about repairing this mess?

1) Wipe your existing bayes_* files.  Given what you're saying here,
they have totally incorrect data and if anything wiping them completely
should *improve* your spam detection rate.  <g>

2) Enable Bayes and autolearn.  Leave the autolearn=ham threshold low; 
although you might want to bring it up to -0.1 or so to learn
"high"-scoring hams.

3) Collect some hand-classified ham and spam.  Feed both to Bayes. 
Watch for messages that get misclassified - ignore the scores.  Feed the
misclassified messages back into Bayes as appropriate.  Note that the
feedback process is ongoing to keep up with the changing flow of spam! 
I'm still feeding misclassified mail into the Bayes dbs on several
systems in various configurations - although not nearly as often, nor as
many messages as when I started.

4) Make sure you're using SURBL - this will significantly help spam
scores get further separated from ham scores, and allow more spam to be
autolearned correctly.

Bayes (and any other learning system) needs fairly close attention for
the first little while;  after a few weeks it should be working much
smoother.

-kgd
-- 
Get your mouse off of there!  You don't know where that email has been!