[Spambayes] error with sb_imapfilter.py alpha 7
Christopher Messina
cmessina at umich.edu
Tue Feb 3 10:48:23 EST 2004
Hello. I've been using the imap filter succesfully for a while, but I hit
a wall today.
Apparently a message that I've trained as either spam or ham is causing a
problem. Here is the session.
[13 waynes cmessina]: python2.3 /usr/bin/sb_imapfilter.py -c -e y -D hammie.db
SpamBayes IMAP Filter Beta1, version 0.1 (September 2003),
using SpamBayes IMAP Filter Web Interface Alpha2, version 0.02
and engine SpamBayes Beta2, version 0.2 (July 2003).
Traceback (most recent call last):
File "/usr/bin/sb_imapfilter.py", line 825, in ?
run()
File "/usr/bin/sb_imapfilter.py", line 815, in run
imap_filter.Filter()
File "/usr/bin/sb_imapfilter.py", line 675, in Filter
self.unsure_folder)
File "/usr/bin/sb_imapfilter.py", line 590, in Filter
for msg in self:
File "/usr/bin/sb_imapfilter.py", line 485, in __iter__
yield self[key]
File "/usr/bin/sb_imapfilter.py", line 533, in __getitem__
msg.get_substance()
File "/usr/bin/sb_imapfilter.py", line 364, in get_substance
new_msg = email.Parser.Parser().parsestr(data["RFC822"])
File "/var/tmp/python2.3-2.3.2-root/usr/lib/python2.3/email/Parser.py", line 75, in parsestr
File "/var/tmp/python2.3-2.3.2-root/usr/lib/python2.3/email/Parser.py", line 64, in parse
File "/var/tmp/python2.3-2.3.2-root/usr/lib/python2.3/email/Parser.py", line 245, in _parsebody
email.Errors.BoundaryError: multipart message with no defined boundary
I train the filter with the following command:
python2.3 /usr/bin/sb_imapfilter.py -t -D hammie.db
Is there some way I can track down the offending message?
Please let me know if I can provide any more information.
--
Chris
More information about the Spambayes
mailing list