skip montanaro dwooqfuuguserssourceforgenet update cvsrootspambayesspambayesscripts directory sc8prcvs8sourceforgenettmpcvsserv27616scripts modified files sb_imapfilterpy log message patch 1707808 dave abrahams tte patch imap index sb_imapfilterpy rcs file cvsrootspambayesspambayesscriptssb_imapfilterpyv retrieving revision 166 retrieving revision 167 diff c2 r166 r167 sb_imapfilterpy 7 apr 2006 023640 0000 166 sb_imapfilterpy 11 may 2007 002308 0000 167 177181 timeout 60 seconds def __init__self server port debug0 do_expungefalse theres tricky situation use_ssl false try connect imap ssl server hang 177191 timeout 60 seconds def __init__self server debug0 do_expunge optionsimap expunge serverfind 1 server port serversplit 1 port intport else optionsimap use_ssl port 993 else port 143 theres tricky situation use_ssl false try connect imap ssl server hang 386389 396400 rfc822_header_re recompilerrfc822header uid_re recompileruid uid_re2 recompiler uid fetch_response_re recompiler09 reescapeflag_chars r 407410 418424 data expected_literal none selfuid_re2matchresponse1 response response1 part response ignore parentheses convenience 721724 735739 break else selfimap_serverprint_log raise badimapresponseerrorrecent find saved message 10761079 10911112 def serverspromptforpass false returns list containing tuple serveruserpasswd imap server options promptforpass true least password missing options prompts user servers password servers optionsimap server usernames optionsimap username pwds optionsimap password promptforpass lenpwds lenusernames pwds u usernames pwdsappendgetpassenter password u return zipserversusernamespwds def runforce_uifalse try 10901095 promptforpass false launchui false servers usernames opt arg opts 11231126 11331164 print done optionsimap server servers optionsimap server usernames optionsimap username promptforpass pwds optionsimap password else pwds none launchui force_ui print need specify server username sysexit promptforpass pwds xrangelenusernames pwdsappendgetpassenter password usernamesi servers_data server username password zipservers usernames pwds serverfind 1 server port serversplit 1 port intport else optionsimap use_ssl port 993 else port 143 servers_dataappendserver port username password load stats manager stats statsstatsoptions message_db 11641173 print done launchui force_ui optionsimap server print need specify server username sysexit servers_data serverspromptforpass load stats manager stats statsstatsoptions message_db 11801188 sleeptime doclassify dotrain imaps server port username password servers_data server imapsappendnone else imapsappendimapsessionserver port imapdebug doexpunge def close_db 11891197 sleeptime doclassify dotrain imaps server username password servers_data server imapsappendnone else imapsappendimapsessionserver imapdebug doexpunge def close_db 12011204 12101214 httpserver userinterfaceserveroptionshtml_ui port pwds x2 x servers_data httpserverregisterimapuserinterfaceclassifier imaps pwds imapsession statsstats 12141219 doclassify dotrain imaps server port username password servers_data imapsappendserver port imapdebug doexpunge username password 12241229 doclassify dotrain imaps server username password servers_data imapsappendserver imapdebug doexpunge username password 12301235 optionsset_restore_point true server port imapdebug doexpunge username password imaps imap imapsessionserver port imapdebug doexpunge optionsglobals verbose print account ss imapserver imapport 12401245 optionsset_restore_point true server imapdebug doexpunge username password imaps imap imapsessionserver imapdebug doexpunge optionsglobals verbose print account ss imapserver imapport _______________________________________________ spambayescheckins mailing list pnperxdpvsarswdlppythonorg httpmailpythonorgmailmanlistinfospambayescheckins tue 05 aug 2008 165635 0700 spambayescheckins spambayesscripts sb_imapfilterpy166167