EFW Support

Development => Contribute Your Customisations & Modifications => Topic started by: willsheldon on Wednesday 30 June 2010, 10:30:37 pm



Title: Bayesian SPAM learning by IMAPs instead of IMAP
Post by: willsheldon 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)