EDIT: Please note, this post hasn't been update for a long time and still consid...
Stefano Marinelli @stefano@bsd.cafe
EDIT: Please note, this post hasn't been update for a long time and still considers Dovecot 2.3.x - but the underlying ideas are still current.
Quite relevant, today:
Make your own E-Mail server - Part 1 - FreeBSD, OpenSMTPD, Rspamd and Dovecot included