[spambayes-bugs] [ spambayes-Bugs-1023797 ] Imapfilter fails: 'Cannot find saved message'

SourceForge.net noreply at sourceforge.net
Mon Sep 27 09:24:17 CEST 2004


Bugs item #1023797, was opened at 2004-09-08 04:18
Message generated for change (Comment added) made by anadelonbrin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1023797&group_id=61702

Category: imapfilter
Group: Source code - CVS
Status: Open
Resolution: None
Priority: 5
Submitted By: Jonathan M. Gilligan (jmgilligan)
Assigned to: Tony Meyer (anadelonbrin)
Summary: Imapfilter fails: 'Cannot find saved message'

Initial Comment:
sb_imapfilter.py fails intermittently, but frequently, 
with the error:

__main__.BadIMAPResponseError: The 
command 'Cannot find saved message' failed to give an 
OK response.

Rerunning the filter produces this error, but different 
amounts of processing occur before I get the error. For 
what it's worth, my email client (mulberry) reports that 
it frequently spends as much as 90 seconds waiting for 
a response from the server, so perhaps this is a timeout 
problem.

I'm running the latest spambayes checked out from 
CVS using python 2.3.4 under Windows 2000 (Python 
2.3.4 (#53, Aug 23 2004, 16:24:32) [MSC v.1310 32 
bit (Intel)] on win32).

The server welcome is:
'* OK imap1 Cyrus IMAP4 v2.0.16 server ready'

The server capabilties is:
('IMAP4', 'IMAP4REV1', 'ACL', 'QUOTA', 'LITERAL+', 'NA
MESPACE', 'UIDPLUS', 'ID',
 'NO_ATOMIC_RENAME', 'UNSELECT', 'MULTIAPPEND', 'S
ORT', 'THREAD=ORDEREDSUBJECT',
 'THREAD=REFERENCES', 'IDLE', 'STARTTLS', 'AUTH=PL
AIN', 'X-NETSCAPE')

Attached is the output from sb_imapfilter -v -t -c -i 4 
where the exception occurs.



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

>Comment By: Tony Meyer (anadelonbrin)
Date: 2004-09-27 19:24

Message:
Logged In: YES 
user_id=552329

Apologies for the delay in getting to this (I've been overseas).

This code is quite significantly changed (for the better, in
theory) than the 1.0 sb_imapfilter, so hasn't been as widely
tested.  Your server isn't giving up the EXISTS response
that's expected or in the expected way, so something's
falling apart.

I'll try and find time to have a proper look at this
tomorrow.  Note that you ought to be able to fall back to
the 1.0 imapfilter if necessary.

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

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


More information about the Spambayes-bugs mailing list