PERM_FAILURE: SMTP Error

If you are getting following exim error logs,

PERM_FAILURE: SMTP Error (state 9): 550-ug-out-1314.google.com [xx.xx.92.175]
is currently not permitted to relay
550-through this server. Perhaps you have not logged into the pop/imap server
550-in the last 30 minutes or do not have SMTP Authentication turned on in your
550 email client.

Fix:  Just remove the domain from remotedomains and add it to /etc/localdomains

🙂