Welcome, Guest. Please login or register.
Did you miss your activation email?
Friday 15 November 2024, 03:38:44 am

Login with username, password and session length

The Latest Endian Firewall is now available for download HERE
14255 Posts in 4377 Topics by 6515 Members
Latest Member: hulteends
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 11604 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.031 seconds with 19 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com