Answer the question
In order to leave comments, you need to log in
Why is mail not sent via ssmtp?
Hello. On Ubuntu Server 14.04, mail with notifications about system events (boot, ssh authorization, etc.) is sent using ssmtp, whose settings look like this:
/etc/ssmtp/ssmtp.conf
[email protected]
mailhub=smtp.gmail.com:465
AuthUser=myemail
AuthPass=пароль_к_почтовому_ящику
rewriteDomain=gmail.com
hostname=gmail.com
FromLineOverride=YES
UseTLS=YES
root:[email protected]:smtp.gmail.com:465
www-data:[email protected]:smtp.gmail.com:465
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question