[Spambayes] KeyError in sp_imapfilter
David Leinbach
david at leinbach.name
Tue Dec 14 06:37:05 CET 2004
Hi,
I am getting the following error when running sb_imapfilter.py. I tried
removing all of the spam messages from the spam folder but am still
getting the same error. How can I determine which message it is and
what can I do about it?
Thanks
David
------------------------------------------------------------------------
------------------------------------------------------------------------
---------
SpamBayes IMAP Filter Version 0.4 (May 2004)
and engine SpamBayes Engine Version 0.3 (January 2004).
User interface url is http://localhost:8880/
Traceback (most recent call last):
File "/usr/bin/sb_imapfilter.py", line 1067, in ?
run()
File "/usr/bin/sb_imapfilter.py", line 1051, in run
imap_filter.Filter()
File "/usr/bin/sb_imapfilter.py", line 909, in Filter
self.unsure_folder, self.ham_folder)
File "/usr/bin/sb_imapfilter.py", line 786, in Filter
for msg in self:
File "/usr/bin/sb_imapfilter.py", line 665, in __iter__
yield self[key]
File "/usr/bin/sb_imapfilter.py", line 707, in __getitem__
mo = re.search(id_header, data["RFC822.HEADER"], re.IGNORECASE)
KeyError: 'RFC822.HEADER'
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.809 / Virus Database: 551 - Release Date: 09/12/2004
More information about the Spambayes
mailing list