I managed to produce the same error in Thunderbird by searching for 
messages containing a X-SPAMBAYES-MAILID header.

The current command did not succeed. The mail server responded: parse 
error: unindexed header: X-SPAMBAYES-MAILID.

So it looks as if SpamBayes's IMAP proxy is attempting to do a search 
for messages by the X-SPAMBAYES-MAILID header, which my IMAP server does 
not support. Can SpamBayes handle this condition more gracefully—or 
better yet, work around it?

-Kev.


Kevin Yank wrote:
> [EMAIL PROTECTED] wrote:
>> Kevin> Yes, I downloaded the spambayes-1.0.4.zip source distribution
>> Kevin> from SourceForge, dated 2005-03-22.
>>
>> Can you please try 1.1a4? It's at least two years newer. Before we dig,
>> dig, dig it would be nice to know if the problem has already been fixed.
>>
>> Thanks,
>>
> 1.1a4 seems to do a bit more work before it fails with a similar error:
>
>
> SpamBayes IMAP Filter Version 1.1a4 (June 2007).
>
> Loading database 
> C:\Users\Kevin\AppData\Roaming\SpamBayes\Proxy\hammie.db...Load
> ing state from 
> C:\Users\Kevin\AppData\Roaming\SpamBayes\Proxy\hammie.db database
>
> C:\Users\Kevin\AppData\Roaming\SpamBayes\Proxy\hammie.db is a new 
> database
> Done.
> User interface url is http://localhost:8880/
> Account: gravity.sitepoint.com:993
> Training
> Training ham folder SpamBayes/Train as Not Junk
> ................................................................................
>  
>
> ...
> 0 trained.
> Training spam folder SpamBayes/Train as Junk
> ................................................................................
>  
>
> .................*************************************************
> 49 trained.
> Persisting C:\Users\Kevin\AppData\Roaming\SpamBayes\Proxy\hammie.db 
> state in dat
> abase
> Training took 9.6690 seconds, 49 messages were trained.
> Classifying
> *Traceback (most recent call last):
> File "sb_imapfilter.py", line 1294, in <module>
> run()
> File "sb_imapfilter.py", line 1276, in run
> imap_filter.Filter()
> File "sb_imapfilter.py", line 1082, in Filter
> self.unsure_folder, self.ham_folder)
> File "sb_imapfilter.py", line 985, in Filter
> msg.Save()
> File "sb_imapfilter.py", line 747, in Save
> response = self.imap_server.uid("SEARCH", search_string)
> File "C:\Python25\lib\imaplib.py", line 752, in uid
> typ, dat = self._simple_command(name, command, *args)
> File "C:\Python25\lib\imaplib.py", line 1055, in _simple_command
> return self._command_complete(name, self._command(name, *args))
> File "C:\Python25\lib\imaplib.py", line 892, in _command_complete
> raise self.error('%s command error: %s %s' % (name, typ, data))
> imaplib.error: UID command error: BAD ['parse error: unindexed header: 
> X-SPAMBAY
> ES-MAILID']
>
>
> -Kev.
>
_______________________________________________
SpamBayes@python.org
http://mail.python.org/mailman/listinfo/spambayes
Info/Unsubscribe: http://mail.python.org/mailman/listinfo/spambayes
Check the FAQ before asking: http://spambayes.sf.net/faq.html

Reply via email to