Ssmtp
apt-get install ssmtp
/etc/ssmtp/revaliases
<script lang=bash> root:name@domain.tld:mx.domain.tld:25
</script>
/etc/ssmtp/ssmtp.conf
Config file for sSMTP sendmail
root=name@domain.tld mailhub=mx.domain.tld hostname=host.name@domain.tld
- UseTLS=YES
UseSTARTTLS=YES AuthUser=name@domain.tld AuthPass=PASSWORD