[spambayes-bugs] [ spambayes-Support Requests-1388546 ] Can't get SB (Windows) to work with IMAP server

SourceForge.net noreply at sourceforge.net
Fri Dec 23 04:10:01 CET 2005


Support Requests item #1388546, was opened at 2005-12-22 19:09
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498104&aid=1388546&group_id=61702

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Submitted By: Greg Bullock (bullock)
Assigned to: Nobody/Anonymous (nobody)
Summary: Can't get SB (Windows) to work with IMAP server

Initial Comment:
I loved SpamBayes when I had an POP3 server.  Now that
I'm using an IMAP email server, I'm trying to get it to
work with that.  The setup seemed to work OK, but the
filtering gives an error message and aborts.

I've just installed Python 2.4 and SpamBayes 1.0.4 on
my Windows XP system with Outlook Express 6.

The "Configuration", "Configure folders to filter" and
"Configure folders to train" steps went fine, and
SpamBayes correctly identified the available IMAP folders.

But I can't seem to get the actual filtering to work. 
Here's the command line and error response:

C:\Python24\Scripts>sb_imapfilter.py -c -t -l 5
SpamBayes IMAP Filter Version 0.6 (January 2005)
and engine SpamBayes Engine Version 0.3 (January 2004).

Traceback (most recent call last):
  File "C:\Python24\Scripts\sb_imapfilter.py", line
947, in ?
    run()
  File "C:\Python24\Scripts\sb_imapfilter.py", line
933, in run
    imap_filter.Train()
  File "C:\Python24\Scripts\sb_imapfilter.py", line
766, in Train
    num_ham_trained = folder.Train(self.classifier, False)
  File "C:\Python24\Scripts\sb_imapfilter.py", line
686, in Train
    for msg in self:
  File "C:\Python24\Scripts\sb_imapfilter.py", line
613, in __iter__
    yield self[key]
  File "C:\Python24\Scripts\sb_imapfilter.py", line
662, in __getitem__
    msg.Save()
  File "C:\Python24\Scripts\sb_imapfilter.py", line
545, in Save
    response = imap.uid("SEARCH", "(UNDELETED HEADER %s
\"%s\")" % \
  File "C:\Python24\lib\imaplib.py", line 725, in uid
    typ, dat = self._simple_command(name, command, *args)
  File "C:\Python24\lib\imaplib.py", line 1028, in
_simple_command
    return self._command_complete(name,
self._command(name, *args))
  File "C:\Python24\lib\imaplib.py", line 865, in
_command_complete
    raise self.error('%s command error: %s %s' % (name,
typ, data))
imaplib.error: UID command error: BAD ['UID invalid
arguments']

Any help most appreciated.

Regards.
Greg

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498104&aid=1388546&group_id=61702


More information about the Spambayes-bugs mailing list