Wednesday, July 7, 2010

Check for new email via TLS secured IMAP or POP

You can check POP and IMAP with telnet, e.g. telnet mail.domain.com 143. But how to do this with TLS? Run it with openssl.exe and dont forget the CRLF (carriage return line feed) parameter.

c:\openssl\openssl.exe s_client -crlf -connect mail.domain.com:995
* OK The POP3 service is ready.

Then you can use USER and PASS commands to authenticate to the POP server. LIST will show you the mailbox content. To retrieve a message call RETR .


No comments: