You should install mozilla-psm package if you want to use IMAP/SSL.