At the time of writing, Munin on OpenBSD doesn’t come with a dovecot dedicated plugin. I’m not sure it even comes with an IMAP plugin. Anyway, you can get one from the “Munin plugin repository” and run it on your BSD box.
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.
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.
On my way to move from Zarafa to SOGo, I needed a way to migrate my e-mail between the two systems. Both provides IMAP capabilites and that’s the service I’m gonna use to move the data.
You can either copy/move the e-mail manually using your favorite IMAP client or automate the migration using imapsync.
Like I did with NetBSD, this is how to build an almost complete Mail Server with OpenBSD.
We’re gonna use a Dovecot IMAP server and a Postfix SMTP server. Postfix will use Dovecot as a SASL service. Both will use LDAP to identify valid users and e-mail aliases. Mail sanitization will be provided by RBL, from Postfix, and by the
spamd shipped with OpenBSD.
Those are the directions I used to setup an almost complete OpenSource Mail server running NetBSD and pkgsrc.
The Mail server will feature:
- E-mail exchange (MX) role on the Internet;
- E-mail gateway (SMTP) for internal LAN users ;
- E-mail access (IMAP) for internal LAN users ;
- Secured (TLS and SASL) access for internal users;
- Greylisting, RFC check and RBL mail filtering ;
- Directory (LDAP) for e-mail entries ;