0
I have a website set up on a CentOS server which has a contact form on it set up to send mail to a gmail address.
However the mail is being blocked by google with the following error:
Diagnostic-Code: smtp; 550-5.7.1 This message does not have authentication
information or fails to pass
550-5.7.1 authentication checks. To best protect our users from spam, the
550-5.7.1 message has been blocked. Please visit
550-5.7.1 https://support.google.com/mail/answer/81126#authentication for more
550 5.7.1 information. q16si15869511wrs.198 - gsmtp
The mail can be received by a hotmail address, however it goes into spam.
I am not sure how I can authenticate the message, I have read this page: https://support.google.com/mail/answer/81126#authentication
Which suggests adding mx records, however there are already mx records for Gsuite emails on the domain.
Can anyone advise how to fix this issue?
Add a SPF record or DKIM. Also make sure you are using SSL if possible, and make sure your reverse DNS matches the hostname used in the HELO – ivanivan – 2019-04-26T12:55:43.413
Are you sure you read that support page? The page doesn't even mention MX records at all. – Deltik – 2019-04-26T12:55:48.813
@Deltik You're right, re-reading I have no idea where I got that from. – Edward144 – 2019-04-26T12:58:49.477