Enable compression on Dovecot storage

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 “Enable compression on Dovecot storage”

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”

OpenSMTPD and Dovecot on OpenBSD 5.7

Those are my notes about configuring OpenSMTPD 5.4.4 and Dovecot 2.2.15 on OpenBSD 5.7. I’ve setup virtual domains and users. In this simple configuration, the virtual users are matched with local users for mail delivery. SMTP submission is authenticated and passwords for all mail services are stored in usual system files. Of course, mail reception is protected by spamd. Here are the directions.
Continue reading “OpenSMTPD and Dovecot on OpenBSD 5.7”

Quick review of mailserv, the OpenBSD Mail server project

My actual Mail system is running OpenBSD. I use the good old “put the bits together and rule the configuration files” way. But there are some times when I fell like a Web GUI would be nice. I never liked solutions like Zimbra or Zarafa so much because they were quite restrictive bundles – it terms of which backend could be use. But that’s what they’re selled for: bundles.

Let’s have a look at what mailserv does and how.

Continue reading “Quick review of mailserv, the OpenBSD Mail server project”

Monitor Dovecot with Munin on OpenBSD

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 “Monitor Dovecot with Munin on OpenBSD”