[Spambayes] Re: tbird and spambayes not playing well together.
sean
seandarcy at hotmail.com
Tue Dec 21 19:20:40 CET 2004
Kenny Pitt wrote:
>
> This problem has been fixed in the latest CVS source, so it should be
> available when either the 1.0.2 maintenance release or the 1.1 alpha release
> comes out.
>
Went and got today's cvs. One step forward: tbird shows it receiving all the mail,
But... it actually doesn't - or at least they don't show up in tbird. In bayescustomize.ini I set verbose:
sb_server.py
SpamBayes POP3 Proxy Version 1.0.1 (November 2004)
and engine SpamBayes Engine Version 0.3 (January 2004).
Loading state from /opt/spam/spambayes/data/hammie.db database
/opt/spam/spambayes/data/hammie.db is an existing database, with 2373 spam and 2638 ham
Loading database... SMTP Listener on port 25 is proxying mail.xyz.net:25
Listener on port 110 is proxying mail.xzy.net:110
Listener on port 120 is proxying mail.abc.com:110
Listener on port 130 is proxying pop.prq.com:110
User interface url is http://localhost:8880/
Traceback (most recent call last):
File "/usr/bin/sb_server.py", line 489, in onRetr
evidence=True)
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 432, in _getclues
if options["Classifier", "x-use_bigrams"]:
File "/usr/lib/python2.4/site-packages/spambayes/OptionsClass.py", line 607, in __getitem__
return self.get(key[0], key[1])
File "/usr/lib/python2.4/site-packages/spambayes/OptionsClass.py", line 604, in get
return self.get_option(sect, opt.lower()).get()
File "/usr/lib/python2.4/site-packages/spambayes/OptionsClass.py", line 598, in get_option
return self._options[sect, opt.lower()]
KeyError: ('Classifier', 'x-use_bigrams')
.................
There appears to be one of these for each message.
???
sean
More information about the Spambayes
mailing list