Imap

Self-Hosted Email services on OpenBSD

       2082 words, 10 minutes

Looking at my notes , it seems I haven’t setup an email services server from scratch since 2015. Of course, mine have evolved following OpenBSD updates and upgrades. Let’s benefits from the fact that I’m migrating from Vultr to OpenBSD Amsterdam to write a few notes about the mail server (re)creation. At the time of writing, OpenBSD is available in version 7.2.

Continue reading...


Enable compression on Dovecot storage

       268 words, 2 minutes

I’ve just discovered than compression can be applied on Dovecot mail storage. Truth is I used to run the delivery via Postfix. Now that I use OpenSMTPD and Dovecot LMTP to deliver the mail, those can be compressed for write (LMTP) and read (IMAP) process. Here’s how.

Continue reading...


OpenSMTPD, Dovecot and ldapd on OpenBSD 5.7

       2535 words, 12 minutes

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...


Monitor Dovecot with Munin on OpenBSD

       244 words, 2 minutes

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. Here’s how:

Continue reading...


My IMAP cheat sheet

       241 words, 2 minutes

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.

Continue reading...


1 / 2