It's covered in the OReilly IMAP book some. Also, a good thing about STunnel is that you can put compute heavy SSL decryption on one or more OTHER machines than the IMAP server. Quoting Anthony Howe (achowe@snert.com): > Is there an IMAP4 server implementation (freeware, open source, GPL) (in > C) that supports SSL connections? UW, cyrus, non-free ones from sendmail, inc. Likely others.