[Spambayes] Problem with SpamBayes 1.0a9 & procmail

papaDoc papaDoc at videotron.ca
Mon Feb 16 14:23:40 EST 2004

Hi Mike,

>Problem in using SpamBayes 1.0a9 (Python 2.3 / Mandrake Linux 9.2)
>The installation is a fresh one, with a hammiedb created today from 407
>spams and 494 hams.  .spambayesrc looks like this:
Did you trained with new mails or with mail you  have trained your 
earlier version of spambayes?
Did you use the "-f"  in the command line for training. ?

Spambayes add a header saying an email was already trained so don't 
trained on this one again.
the flag "-f" force to traine on those message anyway.
This can be a cause that your nham and nspam are still at 0

If this is not the case export your database to a flat file and check 
the number of ham and spam.

>   File "/usr/lib/python2.3/site-packages/spambayes/classifier.py", line 308, in probability
>      assert hamcount <= nham
>   AssertionError
>   [mikec at lugh mikec]$

>This is the same result for any input file whether single ham, single
>spam or a mixture of both, except that zero length input passes OK:
For this I can't help ???


\ /
 X   ASCII Ribbon Campaign
/ \  Against HTML Email

More information about the Spambayes mailing list