OpenSMTPD, Dovecot and ldapd on OpenBSD 5.7

Looking to replace my old Postfix/Dovecot configuration with more native OpenBSD stuff, I finally ended with a configuration than seems suitable to me. I’ll be hosting virtual users and mail aliases in ldapd(8), smtpd(8) will deal with email receiving/sending and dovecot(1) will be in charge of email delivery using LMTP and email reading using IMAP. Of course, spamd(8) will do a bit of work in front of OpenSMTPD. All of those will run on OpenBSD 5.7.
Continue reading “OpenSMTPD, Dovecot and ldapd on OpenBSD 5.7”

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”