Re: nan in bogofilter stats

David Relson <[email protected]>
Newsgroups gmane.mail.bogofilter.general
Organization Osage Software Systems, Inc.
Message-ID <[email protected]>
On Wed, 19 Nov 2008 09:38:25 +1030
Stephen Davies wrote:

> Recently I am seeing large numbers of false Ham results from my
> well-trained bogofilter.
> 
> The following is the output of a bogofilter scan of an obvious spam
> mail.
> 
> The Ham result seems to result from the "nan" values.
> 
> Where do these come from and how do I fix it?
> 
> Cheers and thanks,
> Stephen Davies
...[snip]...
> [scldad@mustang bogofilter]$ bogoutil -w wordlist.db Viagra
>                                  spam   good
> Viagra                          12385      0

Hello Stephen,

It sounds like your wordlist is b0rked. "nan" shows up when .MSG_COUNT
has 0 for either spam or ham counts.  run 

	"bogoutil -w wordlist.db .MSG_COUNT"

to test this.  If a zero shows up, then it's time to replace your
wordlist with a backup copy.

HTH,

David
_______________________________________________
Bogofilter mailing list
[email protected]
http://www.bogofilter.org/mailman/listinfo/bogofilter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.