Ssmtp

De MochilaWiki

instalando

apt-get install ssmtp

/etc/ssmtp/ssmtp.conf

root=postmaster
hostname=localhost
rewriteDomain=seudominio.net
authUser=seuemail@seudominio.net
authPass=suasenha
authMetod=plain
fromLineOverride=NO
mailhub=seuservidorsmtp.com.br:587
useTLS=YES
UseSTARTTLS=YES

/etc/ssmtp/revaliases

root:seuemail@seudominio.net:seuservidorsmtp.com.br:587

Referências