Ray UK Posted December 28, 2023 Share Posted December 28, 2023 Hi, So ive been getting emails bouncing back from customers with gmail addresses. Their reason is 550-5.7.26 Gmail requires all senders to authenticate with either SPF or DKIM. 550-5.7.26 550-5.7.26 Authentication results: 550-5.7.26 DKIM = did not pass 550-5.7.26 SPF [DOMAIN.uk] with ip: [IP ADDRESS] = did not pass Now I have configured the SMTP details on PS exactly the same as I have in outlook. Sending emails from outlook from the same email address works fine and they dont get returned to me, its only when Prestashop is sending the emails. So customer registrations, orders etc are now all bouncing back to me. The Ip Address on the SPF failure is always a different Ip Address which is causing the problems as I cant simply add the IP in the SPF record. Any ideas what I can do Thanks Link to comment Share on other sites More sharing options...
justmeagain Posted December 28, 2023 Share Posted December 28, 2023 I am also experiencing the same issue - with both gmail.com & mail.com accounts - @hotmail.com, @hotmail.co.uk, @outlook.com etc are all working fine <******@gmail.com>: host gmail-smtp-in.l.google.com[64.233.x.x] said: 550-5.7.26 This mail has been blocked because the sender is unauthenticated. 550-5.7.26 Gmail requires all senders to authenticate with either SPF or DKIM. 550-5.7.26 550-5.7.26 Authentication results: 550-5.7.26 DKIM = did not pass 550-5.7.26 SPF [mysite.co.uk] with ip: [213.x.x.x] = did not 550-5.7.26 pass 550-5.7.26 550-5.7.26 For instructions on setting up authentication, go to 550 5.7.26 https://support.google.com/mail/answer/81126#authentication n18-20020a5d4852000000b003368609062csi6429415wrs.415 - gsmtp (in reply to end of DATA command) Link to comment Share on other sites More sharing options...
musicmaster Posted December 31, 2023 Share Posted December 31, 2023 When you have a hosting provider you can ask him. If you maintain your own server, be aware that email trouble is an important reason why some people prefer hosting providers. Link to comment Share on other sites More sharing options...
Ray UK Posted January 4, 2024 Author Share Posted January 4, 2024 I pay for a VPS. Now using Outlook to send mail is fine, Ive configured the SPF & DKIM which seem to be working fine. Using exactly the same settings in PS8 and its showing those errors with a random IP address sending the mail. It worked perfectly fine before updating to PS8 Link to comment Share on other sites More sharing options...
dinesh badrukhiya Posted January 4, 2024 Share Posted January 4, 2024 Yes it’s must require to authenticate with either SPF or DKIM to prevent spoofing and from being marked as spam with Gmail. Link to comment Share on other sites More sharing options...
Ray UK Posted January 6, 2024 Author Share Posted January 6, 2024 (edited) On 1/4/2024 at 6:00 PM, dinesh badrukhiya said: Yes it’s must require to authenticate with either SPF or DKIM to prevent spoofing and from being marked as spam with Gmail. Hi Dinesh, Yes I know that. If I put my connection details into outlook and send an email to google, it passes SPF.DKIM and is deliverted to inbox. If I put the exact same connection details into Prestashop/email settings then SPF/DKIM is failing and the mail is returned to me. Now another site that I maintain is still running PS 1.7. The emails from that site are being delivered correctly to customers and I have not made any extra SPF/DKIM settings on that domain. Edited January 6, 2024 by MerseyRay (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted January 6, 2024 Share Posted January 6, 2024 Can you test your configuration here: https://dmarcian.com/ 1 Link to comment Share on other sites More sharing options...
Ray UK Posted January 6, 2024 Author Share Posted January 6, 2024 7 hours ago, musicmaster said: Can you test your configuration here: https://dmarcian.com/ My domain seems to be ok with the settings I have. Like I say, using the same smtp settings in outlook and the emails are being delivered fine. Its only when I enter the settings into Prestashop that the emails are failing Link to comment Share on other sites More sharing options...
musicmaster Posted January 7, 2024 Share Posted January 7, 2024 11 hours ago, MerseyRay said: My domain seems to be ok with the settings I have. Like I say, using the same smtp settings in outlook and the emails are being delivered fine. Its only when I enter the settings into Prestashop that the emails are failing Can you try this service to look what your Prestashop sends? https://dkimvalidator.com/ 1 Link to comment Share on other sites More sharing options...
Ray UK Posted January 7, 2024 Author Share Posted January 7, 2024 3 hours ago, musicmaster said: Can you try this service to look what your Prestashop sends? https://dkimvalidator.com/ OK so that site has helped me work it out. At first the validator said the only thing failing was the DKIM. In Prestashop 8 there is now the option to add the DKIM settings, so I entered them there.. but at this point it says it should look like a domain That part is wrong it should just be the DKIM selector name because Prestashop adds ._domainkey.yourdomain.com at the end. So I have now just created the selector named "prestashop" and used https://easydmarc.com/tools/dkim-record-generator to create the DKIM signature and RSA key to enter into Prestashop. and Voila it is now passing and the emails are now being received by gmail acocunt. So thanks for your help @musicmaster Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now