1

I've installed ssmtp on Centos 6 and configured it, here is my ssmtp.conf file contain :

root=xxx@gmail.com
mailhub=smtp.gmail.com:587
rewriteDomain=gmail.com
hostname=xxx@gmail.com
UseTLS=Yes
UseSTARTTLS=Yes
AuthUser=xxx@gmail.com
AuthPass=Mail00Test
FromLineOverride=YES
TLS_CA_FILE=/etc/pki/tls/certs/ca-bundle.crt

When sending mails, this error displays :

CANNOT OPEN SMTP.GMAIL.COM:587
2

I am giving you few hints. Think those will solve your issue.

Then try to send mail.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.