Migrating mail servers from exim to OpenSMTPD (smtpd) is fun and useful
Contributed by Peter N. M. Hansteen on from the delivery upgrade accepted dept.
Like (we suspect) quite a few of our readers, undeadly.org co-editor Peter Hansteen runs a mail service and settled on exim as the reasonable alternative to the classic sendmail way back when.
However, that software has had its share of security issues over the years, and during the preparations for the OpenBSD 7.9 release, the ports maintainers decided that
"History of security issues + setuid root is a terrible combo."
and it was time to remove exim from the packages collection.
This meant that the mail service needed to migrate to something else, and Peter wrote up a short article about migrating a multi-domain, multi-site setup to smtpd: OpenSMTPD Is The Mail Server For The Future. The article has a working configuration and advice on how to proceed.