My SMTP cheat sheet

Today is the day when my SMTP server didn’t want me to relay mail after authentication…
This is probably my fault as I may have change something without remembering it. Anyway, here the commands to use to talk SMTP to your favorite server.
Continue reading “My SMTP cheat sheet”

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”