On my servers, I don’t want mail alerts to stay locally but to be forwarded to root@. There are two ways to do so: either put a
.forward file in the home of service user that may send e-mail or configure the local MTA to forward email to root@. Depending on your local MTA, this can be more or less complicated. Usually, I end using sSMTP.
But this time, I want to do it using OpenSMTPD. Here’s how.
Continue reading “OpenSMTPD as MTA relay on OpenBSD 5.1”