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) |