The reported version numbers and dates are somewhat alarming, indicating
pre-release software.  Did you download 1.0.4?  See
http://spambayes.sourceforge.net/download.html.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Kevin Yank
Sent: Wednesday, September 12, 2007 10:05 PM
To: spambayes@python.org
Subject: [Spambayes] IMAP Filter error

I've just set up the SpamBayes IMAP Filter on my Windows Vista machine 
(Python 2.5.1 + pywin32 extensions) according to the instructions at 
http://www.entrian.com/sbwiki/HowToUseImapFilter. The Web admin 
interface works, but when I try to run the IMAP Filter daemon I get the 
following error:

c:\Python25\Scripts>python sb_imapfilter.py -c -t -v -l 10
SpamBayes IMAP Filter Version 0.6 (January 2005)
and engine SpamBayes Engine Version 0.3 (January 2004).

Loading database 
C:\Users\Kevin\AppData\Roaming\SpamBayes\Proxy\hammie.db...Load
ing state from C:\Users\Kevin\AppData\Roaming\SpamBayes\Proxy\hammie.db 
database

C:\Users\Kevin\AppData\Roaming\SpamBayes\Proxy\hammie.db is an existing 
database
, with 0 spam and 0 ham
 Done.
Training
   Training ham folder SpamBayes/Train as Not Junk
*Traceback (most recent call last):
  File "sb_imapfilter.py", line 947, in <module>
    run()
  File "sb_imapfilter.py", line 933, in run
    imap_filter.Train()
  File "sb_imapfilter.py", line 766, in Train
    num_ham_trained = folder.Train(self.classifier, False)
  File "sb_imapfilter.py", line 686, in Train
    for msg in self:
  File "sb_imapfilter.py", line 613, in __iter__
    yield self[key]
  File "sb_imapfilter.py", line 662, in __getitem__
    msg.Save()
  File "sb_imapfilter.py", line 547, in Save
    self.id.replace('\\',r'\\').replace('"',r'\"')))
  File "C:\Python25\lib\imaplib.py", line 752, in uid
    typ, dat = self._simple_command(name, command, *args)
  File "C:\Python25\lib\imaplib.py", line 1055, in _simple_command
    return self._command_complete(name, self._command(name, *args))
  File "C:\Python25\lib\imaplib.py", line 892, in _command_complete
    raise self.error('%s command error: %s %s' % (name, typ, data))
imaplib.error: UID command error: BAD ['parse error: unindexed header: 
X-SPAMBAY
ES-MAILID']

Any hints?

--
Kevin Yank
_______________________________________________
SpamBayes@python.org
http://mail.python.org/mailman/listinfo/spambayes
Info/Unsubscribe: http://mail.python.org/mailman/listinfo/spambayes
Check the FAQ before asking: http://spambayes.sf.net/faq.html
_______________________________________________
SpamBayes@python.org
http://mail.python.org/mailman/listinfo/spambayes
Info/Unsubscribe: http://mail.python.org/mailman/listinfo/spambayes
Check the FAQ before asking: http://spambayes.sf.net/faq.html

Reply via email to