Sophimail shows us how to set up your own FreeBSD mail server using various open source tools. Follow the link below for the full set of instructions.

Introduction

In this tutorial, we are going to configure a FreeBSD email server with virtual domains and users, using Postfix, Dovecot, MySQL and SpamAssassin, ClamAV (w/o Amavis), DKIM, DMARC, CalDAV, CardDAV, Dashboard and RoundCube on FreeBSD 11.0.

Package List (recommended) 

……

File: /etc/rc.conf

Full tutorial: http://www.sophimail.com/configure-freebsd-email-server-using-postfix-dovecot-mysql-spamassassin/

How to built a self-hosted mail server on FreeBSD for maximum data privacy from privacy