Welcome, Guest. Please login or register.
Did you miss your activation email?
Tuesday 26 November 2024, 01:48:45 am

Login with username, password and session length

Visit the Official Endian Reference Manual  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 12234 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.047 seconds with 19 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com