I have a home server which needs a mail server for error messages, mostly.
I used postfix but I find the features/complexity compromises not optimal for my home server: there are tens of lines to check/configure, stunnel to install for TLS, ...
What simpler mail server with TLS support can I use, that is also packaged by Canonical? I'm going to only use an external relay server provided by my provider.
A simple relay-only mail transport agent is
nullmailer
.There is a good configuration guide here: http://www.troubleshooters.com/linux/nullmailer/
That configuration guide is old enough that it omits one important configuration file:
/etc/nullmailer/allmailfrom
. Put just the email address you want the mail to be sent From in there. This helps tremendously when configuring various applications to send mail.example /etc/msmprc
example /etc/aliases.msmtp