How to verify that SSL for IMAP/POP3/SMTP works and the proper certificate is