Running dovecot and opensmtpd inside a jail

Published Wed Jun 14 2017

This is is going to be short and sweet. If you are running opensmtpd or dovecot inside FreeBSD jails you may need specific changes for this configuration, depending on your jail setup.

For dovecot I had to add listen = * to the config.

For opensmtpd I needed to have listen on localhost port <portnumber> instead of listen on lo0 port <portnumber> for smtpd.conf.