why terminal mail doesn't work?
I've just installed mail
sudo apt-get install mailutils
And I tried to send mail though a pipeline:
echo "message" | mail -s "subject" my@email.com
But I don't开发者_运维问答 receive any mails on my inbox.
Why doesn't work? Do I need another package?
Thanks!
I Solved! I had to edit this file and set this variables /etc/ssmtp/ssmtp.conf’:
root=username@gmail.com
mailhub=smtp.gmail.com:587
rewriteDomain=
hostname=username@gmail.com
UseSTARTTLS=YES
AuthUser=username
AuthPass=password
FromLineOverride=YES
精彩评论