Category Archives: Uncategorized

Telnet to a server on an ssl port

2009/12/25

Filed Under : Uncategorized

The last post dealt with connecting to a server using telnet on a non telnet port.  This is handy for touble shooting mail issues or just checking mail without using a “proper” mail client.  In this post I’ll show you how to connect to a standard pop3 server over an ssl port.

> openssl s_client -connect mail.domain-you-want-to-connect-to.com:995

+OK Dovecot ready.

> user [email protected]

+OK

> pass password123

+OK Logged in.

> list

+OK 4 messages:
1 13151
2 6339
3 3030
4 7988

> top 1 20

This shows you the first 20 lines of the first message.  This is also useful when troubleshooting mail connection failure issues.