Did you use port 993?
IMAP is fine. It's the SMTP that isn't working on port 587, it says SMTP Error (530): Failed to set sender "email@example.com" (5.7.0 Must issue a STARTTLS command first). when I try to send an email! Pei (talk) 21:01, 2 December 2012 (UTC)