[Spambayes] imap filter hangs in training

Tony Meyer tameyer at ihug.co.nz
Fri Mar 4 06:00:00 CET 2005


>>> I have a problem with the imap filter.
>>> 
>>> 1. I run it: python sb_imapfilter.py -c -t -v -l 3 -P
>>> 2. It finds my existing hammie.db.
>>> 3. I provide the password.
>>> 4. Then it stops with the following message:
>>> 
>>> 	Training
>>> 	   Training ham folder INBOX
>>> 	*
>>> 
>>> What am I doing wrong?
>> 
>> It's very strange that it just hangs rather than just 
>> crashing.  It you run it with -i4 (python sb_imapfiler.py -c 
>> -t -v -l 3 -P -i4) what're the last few command 
>> command/responses that get printed out before the hang?
> Reads like this:
> 
>   50:28.67 < HBOM5 OK UID Completed
> *  50:28.67 > HBOM6 UID FETCH 402002222 (FLAGS INTERNALDATE)
>   50:28.92 < * 1 FETCH (FLAGS (\ANSWERED \SEEN) INTERNALDATE 
> "5-Feb-2005 13:00:4 1 +0100" UID 402002222)
>   50:28.92 < HBOM6 OK UID Completed
>   50:28.92 > HBOM7 APPEND INBOX (\ANSWERED \SEEN) "5-Feb-2005 13:00:41
> +0100" {3
> 155}

Even stranger.  It's storing the classified copy of the message, but that's
only 3Kb, so it shouldn't take very long.  Do you ever have any other
problems connecting to the IMAP server?  Is your mail client open or closed
while you do this?  If open, try running imapfilter with it closed and see
if that makes any difference.

=Tony.Meyer

-- 
Please always include the list (spambayes at python.org) in your replies
(reply-all), and please don't send me personal mail about SpamBayes.
http://www.massey.ac.nz/~tameyer/writing/reply_all.html explains this.



More information about the Spambayes mailing list