[spambayes-bugs] [ spambayes-Bugs-1653494 ] IMAP/RECENT problems
SourceForge.net
noreply at sourceforge.net
Tue Feb 20 19:36:11 CET 2007
Bugs item #1653494, was opened at 2007-02-06 15:04
Message generated for change (Comment added) made by nicomatsu
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1653494&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: imapfilter
Group: 1.1.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: David Abrahams (david_abrahams)
Assigned to: Tony Meyer (anadelonbrin)
Summary: IMAP/RECENT problems
Initial Comment:
I've now seen this problem with two different IMAP servers (Communigate and Cyrus) when trying to classify email.
*Traceback (most recent call last):
File "/usr/local/bin/sb_imapfilter.py", line 1289, in ?
run()
File "/usr/local/bin/sb_imapfilter.py", line 1271, in run
imap_filter.Filter()
File "/usr/local/bin/sb_imapfilter.py", line 1072, in Filter
self.unsure_folder, self.ham_folder)
File "/usr/local/bin/sb_imapfilter.py", line 975, in Filter
msg.Save()
File "/usr/local/bin/sb_imapfilter.py", line 728, in Save
raise BadIMAPResponseError("recent", "Cannot find saved message")
__main__.BadIMAPResponseError: The command 'recent' failed to give an OK response.
Cannot find saved message
I wonder if relying on the RECENT command is really such a good idea, as IIUC it's subject to all kinds of race conditions.
----------------------------------------------------------------------
Comment By: nicomatsu (nicomatsu)
Date: 2007-02-20 15:36
Message:
Logged In: YES
user_id=1724434
Originator: NO
I'm using Dovecot Mailserver and I have the same issue. I'm using
spambayes-1.1a3.
Traceback (most recent call last):
File "/usr/bin/sb_imapfilter.py", line 1284, in ?
run()
File "/usr/bin/sb_imapfilter.py", line 1266, in run
imap_filter.Filter()
File "/usr/bin/sb_imapfilter.py", line 1067, in Filter
self.unsure_folder, self.ham_folder)
File "/usr/bin/sb_imapfilter.py", line 970, in Filter
msg.Save()
File "/usr/bin/sb_imapfilter.py", line 723, in Save
raise BadIMAPResponseError("recent", "Cannot find saved message")
__main__.BadIMAPResponseError: The command 'recent' failed to give an OK
response.
Cannot find saved message
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1653494&group_id=61702
More information about the Spambayes-bugs
mailing list