[Spambayes] problem using spambayes with .procmailrc

galili assaf galilia at cs.bgu.ac.il
Sat Dec 3 18:11:13 CET 2005

Hello all,
I am trying to use spambayes using .procmailrc.
while execution I get to following message:

procmail: Executing "/usr/bin/sb_filter.py,-f,-d,/home/spamuser/.spambayes/.hammie.db"
Traceback (most recent call last):
  File "/usr/bin/sb_filter.py", line 257, in ?
  File "/usr/bin/sb_filter.py", line 248, in main
  File "/usr/bin/sb_filter.py", line 180, in filter
    return self.h.filter(msg)
  File "/usr/lib/python2.4/site-packages/spambayes/hammie.py", line 109, in filter
    prob, clues = self._scoremsg(msg, True)
  File "/usr/lib/python2.4/site-packages/spambayes/hammie.py", line 38, in _scoremsg
    return self.bayes.spamprob(tokenize(msg), evidence)
  File "/usr/lib/python2.4/site-packages/spambayes/classifier.py", line 190, in chi2_spamprob
    clues = self._getclues(wordstream)
  File "/usr/lib/python2.4/site-packages/spambayes/classifier.py", line 493, in _getclues
    tup = self._worddistanceget(word)
  File "/usr/lib/python2.4/site-packages/spambayes/classifier.py", line 508, in _worddistanceget
    prob = self.probability(record)
  File "/usr/lib/python2.4/site-packages/spambayes/classifier.py", line 311, in probability
    assert spamcount <= nspam
procmail: [23361] Thu Dec  1 17:37:22 2005
procmail: Program failure (1) of "/usr/bin/sb_filter.py"

does anyone know what could be the problem?
thank you,

More information about the SpamBayes mailing list