[spambayes-bugs] [ spambayes-Bugs-818552 ] Exchange 2000 IMAP server & imaplib.error: APPEND command er

SourceForge.net noreply at sourceforge.net
Tue Oct 7 02:17:07 EDT 2003


Bugs item #818552, was opened at 2003-10-06 13:29
Message generated for change (Comment added) made by miketkf
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=818552&group_id=61702

Category: imapfilter
Group: Source code 1.0a6
Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Marcell Lengyel (miketkf)
Assigned to: Tony Meyer (anadelonbrin)
Summary: Exchange 2000 IMAP server & imaplib.error: APPEND command er

Initial Comment:
sb_imapfilter.py crashes when a new mail arrives to the server's inbox.
The server is: Microsoft Exchange 2000 IMAP4rev1 server version 6.0.6249.0
I'm using spambayes-1.0a6.1.tar.gz

The error message is: imaplib.error: APPEND command error: BAD ['Protocol Error: "Specified set of flags is not valid".']

See the attached log for details.

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

>Comment By: Marcell Lengyel (miketkf)
Date: 2003-10-07 08:17

Message:
Logged In: YES 
user_id=881144

Your fix did work. Thanks!


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

Comment By: Tony Meyer (anadelonbrin)
Date: 2003-10-07 02:11

Message:
Logged In: YES 
user_id=552329

I presume this is because there was a space in the flag list 
that wasn't removed.  I've checked in a fix for this to cvs, so 
it should be fixed for the next release.  If you were able to 
check that this does fix it, that would be great.  You can just 
change line 406 (current cvs, 1.0a6 should be similar) from:
            flags = re.sub(r"\Recent ?|\ ?Recent", "", flags)
to
            flags = re.sub(r"\Recent ?| ?\Recent", "", flags)

If you could reopen this if it doesn't fix it, that would be great.

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

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



More information about the Spambayes-bugs mailing list