[Spambayes] new to spambayes

Neale Pickett neale at woozle.org
Tue Oct 28 14:04:49 EST 2003


David Lebel <lebel at lebel.org> writes:

> However, I didn't find a while to get a detailed output of how
> sb_filter.py came up with the fact that a particular piece of spam is
> spam.  Like, a detailled output of words and score given to those
> words.
>
> Is that possible?

Yep!  Just add the following to your ~/.spambayesrc:

  [Headers]
  include_evidence: True

And you'll get an "X-Spambayes-Evidince" header that details each token
(word) used in the score calculation, and that token's spam probability.
Very entertaining!

Neale



More information about the Spambayes mailing list