Ssmtp Config For Gmail

Home » CentOS » Ssmtp Config For Gmail
CentOS 3 Comments

I have tried to setup ssmtp to relay through gmail.

root=my gmail address AuthUser=my gmail address AuthPass=my password FromLineOverride=YES
mailhub=smtp.gmail.com:587
UseSTARTTLS=YES
TLS_CA_FILE=/etc/pki/tls/certs/ca-bundle.crt

I get this error:

Authorization failed (534 5.7.14
https://support.google.com/mail/answer/78754 145sm16287775qhb.20 – gsmtp)

I am not using two step verification at this time. I can sign into my account just fine.

Am I missing a step?

Thanks

Jerry

3 thoughts on - Ssmtp Config For Gmail