[Spambayes] IMAP filter failure (imaplib.error: UID command error:
BAD ['Bogus sequence in UID FETCH'])
denis at haskinferguson.net
Mon Dec 29 19:31:38 EST 2003
[This is on Windows 2000, Python 2.3.3 with spambayes 1.0a7.]
I'm trying to start using spambayes with the imap filter and running
into a problem.
When I run:
python sb_imapfilter.py -c -t -l 1 -v -i 1
***** 17:15.20 NO response: APPEND failed: Unknown flag: $Forwarded
. 17:15.70 BAD response: Bogus sequence in UID FETCH
Traceback (most recent call last):
File "sb_imapfilter.py", line 825, in ?
File "sb_imapfilter.py", line 815, in run
File "sb_imapfilter.py", line 675, in Filter
File "sb_imapfilter.py", line 608, in Filter
File "sb_imapfilter.py", line 395, in Save
response = imap.uid("FETCH", self.uid, "(FLAGS INTERNALDATE)")
File "D:\Python23\lib\imaplib.py", line 697, in uid
typ, dat = self._simple_command(name, command, *args)
File "D:\Python23\lib\imaplib.py", line 1000, in _simple_command
return self._command_complete(name, self._command(name, *args))
File "D:\Python23\lib\imaplib.py", line 837, in _command_complete
raise self.error('%s command error: %s %s' % (name, typ, data))
imaplib.error: UID command error: BAD ['Bogus sequence in UID FETCH']
What generally happens is that 1 or 2 emails seem to get copied on my
imap server and get a X-Spambayes-MailId header added.
I checked the bug database and the last 2 months of email archives and
haven't seen anything like this. Before I start running this thru a
tunnel to try and see what's going on (I have no python experience and
only a smattering of imap knowledge), anyone have any suggestions?
More information about the Spambayes