Welcome, Guest. Please login or register.
Did you miss your activation email?
Wednesday 27 November 2024, 12:36:15 pm

Login with username, password and session length

Visit the official Endian Community Mailinglist  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 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Bayesian SPAM learning by IMAPs instead of IMAP  (Read 12378 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 18 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com