sourceforgenet uiaregisourceforgenet bugs item 1653494 opened 20070206 1304 message generated change comment added made david_abrahams respond visiting httpssourceforgenettrackerfuncdetailatid498103aid1653494group_id61702 please note message contain full copy comment thread including initial issue submission request latest update category imapfilter group 11x status open resolution none priority 5 private submitted david abrahams david_abrahams assigned tony meyer anadelonbrin summary imaprecent problems initial comment ive seen problem two different imap servers communigate cyrus trying classify email traceback recent call last file usrlocalbinsb_imapfilterpy line 1289 run file usrlocalbinsb_imapfilterpy line 1271 run imap_filterfilter file usrlocalbinsb_imapfilterpy line 1072 filter selfunsure_folder selfham_folder file usrlocalbinsb_imapfilterpy line 975 filter msgsave file usrlocalbinsb_imapfilterpy line 728 save raise badimapresponseerrorrecent find saved message __main__badimapresponseerror command recent failed give ok response find saved message wonder relying recent command really good idea iiuc subject kinds race conditions comment david abrahams david_abrahams date 20071221 0242 message logged yes user_id52572 originator yes new data found reproducible case problem dovecot time much analysis say much 1 theres recent command idle loop noop commands times looking evidence message move completed server 2 occurs previouslyunclassified message didnt messageid header first given id self_generate_id selfsaved subsequently selfmovetod new folder selfsaved 3 comment first save line 882 sb_imapfilterpy dont see problem though dont know thats proper fix 4 attached patch adds much useful verbose info sb_imapfilterpy least debugging problem concerned also fixes bug wherein classification would never move messages ham folder even one specified 5 matt stegman data might useful httpmailpythonorgpipermailspambayes2006august019611html occurs least file added sb_imapfilterpypatch comment nicomatsu nicomatsu date 20070220 1336 message logged yes user_id1724434 originator im using dovecot mailserver issue im using spambayes11a3 traceback recent call last file usrbinsb_imapfilterpy line 1284 run file usrbinsb_imapfilterpy line 1266 run imap_filterfilter file usrbinsb_imapfilterpy line 1067 filter selfunsure_folder selfham_folder file usrbinsb_imapfilterpy line 970 filter msgsave file usrbinsb_imapfilterpy line 723 save raise badimapresponseerrorrecent find saved message __main__badimapresponseerror command recent failed give ok response find saved message respond visiting httpssourceforgenettrackerfuncdetailatid498103aid1653494group_id61702 tue 05 aug 2008 183301 0800 spambayesbugs1653494 imaprecent problems