Welcome, Guest. Please login or register.
Did you miss your activation email?
Saturday 30 November 2024, 03:11:02 pm

Login with username, password and session length

Visit the Official Endian Bug tracker  HERE
14261 Posts in 4377 Topics by 6517 Members
Latest Member: Sandro
Search:     Advanced search
+  EFW Support
|-+  Development
| |-+  Contribute Your Customisations & Modifications
| | |-+  Bayesian SPAM learning by IMAPs instead of IMAP
0 Members and 0 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Bayesian SPAM learning by IMAPs instead of IMAP  (Read 12697 times)
willsheldon
Jr. Member
*
Offline Offline

Posts: 1


« on: Wednesday 30 June 2010, 10:30:37 pm »

Wanted to pick up bayes learning from mailbox using IMAPS (exchange). Frighteningly simple tweak, but not mentioned anywhere that I could see

root@efw:/usr/local/bin # diff learnfromimap.py.bak learnfromimap.py
130c130
<             self._imap = imaplib.IMAP4(self.host)
---
>             self._imap = imaplib.IMAP4_SSL(self.host)
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.055 seconds with 19 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com