Mail-in-a-Box behind reverse proxy – disable let’s encrypt

If you have your mailinabox installation behind HTTP reverse proxy, such as nginx proxy manager for example, mailinabox will send you emails each day with subject TLS Certificate Provisioning Result, containing errors.

That’s because it fails to install let’s encrypt certificates. Your web certificates are handled by your reverse proxy, so you don’t need mailinabox to do that. To disable certificate provisioning, open file:
/root/mailinabox/management/ and comment out this line:

management/ -q 2>&1 | management/ “TLS Certificate Provisioning Result”

Restart service:

systemctl restart mailinabox

Leave a Reply

Your email address will not be published. Required fields are marked *