I want to set up my raid server here at home to use gmail's smtp and an email from my google apps to alert me if there is any issues.
I set up ssmtp, here is my config:
# Config file for sSMTP sendmail
#
# The person who gets all mail for userids < 1000
# Make this empty to disable rewriting.
root=email@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=ALEXANDRIA
# 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=email@gmail.com
AuthPass=****
But every time I try to send I get this error:
ssmtp: Authorization failed (454 4.7.0 Cannot authenticate due to temporary system problem. Try again later. 14sm88672bwz.5)
I have logged into the account via web, it is not locked down.
Please help me out, I have spent too long trying to figure this out already.