draft
apt install nullmailer ls -lF /usr/sbin/sendmail
cd /etc/nullmailer/ echo DOMAIN-HERE > defaultdomain echo root@DOMAIN-HERE > adminaddr # from address vi /etc/nullmailer/remotes
smarthost setup
RELAY-SERVER smtp --starttls
–or– SASL
SMTP-RELAY-HERE --daemon -p 465 --ssl --user=USER-HERE --pass=PASSWORD-HERE
systemctl status nullmailer.service
see null-mailers
https://wiki.debian.org/nullmailer
https://wiki.archlinux.org/index.php/Nullmailer
Using nullmailer with STARTTLS and SMTP-Auth https://metzlog.srcbox.net/2012/11/nullmailer-with-starttls/
How to enable secure authentication (ssl,tls,starttls) in nullmailer 1.0.5. and upgrade nullmailer to 1.11 https://unix.stackexchange.com/questions/252179/how-to-enable-secure-authentication-ssl-tls-starttls-in-nullmailer-1-0-5-and
Lightweight outgoing SMTP server https://unix.stackexchange.com/questions/1449/lightweight-outgoing-smtp-server