[Spambayes] problem using spambayes with .procmailrc

Tony Meyer tameyer at ihug.co.nz
Sun Dec 4 06:50:34 CET 2005

> I am trying to use spambayes using .procmailrc.
> while execution I get to following message:
> [...]
>   File "/usr/lib/python2.4/site-packages/spambayes/classifier.py",  
> line 311, in probability
>     assert spamcount <= nspam
> AssertionError

This means that the database is corrupted (there is a token that has  
been seen in more spam than you have trained).  The best thing to do  
is to retrain from scratch.

This shouldn't occur - you should check that procmail is accessing  
spambayes correctly; I don't really know much about that, but there  
are examples in the distribution and on the website, that you could  
look at.


Please always include the list (spambayes at python.org) in your replies
(reply-all), and please don't send me personal mail about SpamBayes.
http://www.massey.ac.nz/~tameyer/writing/reply_all.html explains this.

More information about the SpamBayes mailing list