setting initial spamlist
David Relson
relson at osagesoftware.com
Thu Mar 27 16:50:22 CET 2003
At 10:19 AM 3/27/03, tsh at mrc-lmb.cam.ac.uk wrote:
>Hi all,
>If I prime my bogofilter tables with a single spam message (no 'ham' messages)
>and then run the same spam message through the filter, how come it isnt
>flagged as spam?
Hi Terry,
You've encountered a pathological case. The wordlists have a special
.MSG_COUNT token which is used to compute percents when figuring the spam
score. If either wordlist is empty, its .MSG_COUNT value is zero and this
causes a numerical error.
I discovered the problem a week or so back, but didn't think anyone would
encounter the problem. Once again, I underestimated human creativity.
You can an equally incorrect result by using a ham classification. If you
want more info on how bogofilter is determining the classification, try
running it with "-vv" and again with "-vvv".
I'll submit the patch to CVS today.
David
More information about the Bogofilter
mailing list