linkedin/lafayette — pull request #4 by worr (2013-10-18 07:04:09+00:00)
Title: Added some more configurability wrt imap and web

I added some additional options, since I didn't like the fact that I couldn't configure them in the config file.

Also, this comes with some recommendations. `imaplib` in base is shit. I don't use SSL on my IMAP server; I use TLS (for my personal mail server, I'm the only user, so I'm free to make this decision). `imaplib` doesn't support starttls (that's just fucking absurd). Neither does `imapclient` (the other popular IMAP python lib). I don't know what the fuck the python devs are doing.

I was going to get the socket from `imaplib` and wrap it in an SSL socket, but since the authors of `imaplib` didn't make it a property, I can't actually do that. So you're shit out of luck wrt. TLS support.