My IMAP cheat sheet

When I want to check if an IMAP server is working properly, I telnet it and run basics commands.
Here are (IMAP) commands that I keep using.

Connexion

Either connect to the IMAP (clear text) port:

# telnet FQDN 143

Or connect to the TLS IMAP port:

# openssl s_client -connect FQDN:993

In both case, the server should reply something like:

* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE AUTH=PLAIN] Dovecot ready.

when it is ready to play with you.
Continue reading “My IMAP cheat sheet”