Until a short while ago (not quite sure when), SSMTP was sending the results of my cron jobs to my email.
Here's my ssmtp.conf file:
Code:
# # Config file for sSMTP sendmail # # The person who gets all mail for userids < 1000 # Make this empty to disable rewriting. root=<MYEMAIL>@gmail.com # The place where the mail goes. The actual machine name is required no # MX records are consulted. Commonly mailhosts are named mail.domain.com mailhub=smtp.gmail.com:587 # Where will the mail seem to come from? #rewriteDomain= # The full hostname hostname=<MYEMAIL>@gmail.com # Are users allowed to set their own From: address? # YES - Allow the user to specify their own From: address # NO - Use the system generated From: address FromLineOverride=YES UseSTARTTLS=YES UseTLS=YES AuthUser=<MYEMAIL ADDRESS>@gmail.com AuthPass=<MYPASSWORD>
The only file with the same name is: /usr/share/ncat/ca-bundle.crt
My syslog says this:
Code:
Apr 1 22:25:20 MYHOST sSMTP[31704]: Unable to set TLS_CA_File="/usr/share/ncat/ca-bundle.crt" Apr 1 22:25:23 MYHOST sSMTP[31704]: Creating SSL coection to host Apr 1 22:25:23 MYHOST sSMTP[31704]: Invalid response: 501 5.5.4 HELO/EHLO argument MYEMAIL@gmail.com invalid, closing coection. g2sm376695igi.2 - gsmtp (MYEMAIL@gmail.com) Apr 1 22:25:23 MYHOST sSMTP[31704]: SSL coection using (null) Apr 1 22:25:23 MYHOST sSMTP[31704]: Caot open smtp.gmail.com:587
Has anyone else managed to get sSMTP working with Gmail? Is there an alteative to SSMTP?
برچسب:
نویسنده: استخدام کار