All order emails from my Shopify store are going to spam. My email provider is google. I have verified my email with shopify, and in the DNS added the google DKIM and SPF for both shopify and google, but the emails are still going to spam with the error SPF Neutral with IP xxxxx and DKIM Fail.
Prior to moving to cloudflare the emails were going to the inbox and passing both DKIM and SPF, so there must be something wrong with the settings but I can’t figure out what!
Is it possible to attach a screenshot to show settings?
For starters, that record has two ~all instructions. You should change to have just one ~all at the end. v=spf1 include:shops.shopify.com include:_spf.google.com ~all
Sorry I’m new to all this - I don’t understand what the ip4 directive is, should I write it exactly as you have above, or change the IP to the IP address that google mail has said is ‘Neutral’?
I think it’s actually a shopify IP - the emails that are going to junk are sent by shopify under my email address, and shops.shopify.com is already in the includes, but could it work to add it and replace the address with the actual IP like below?
That is a SendGrid address, and is not covered by the shops.shopify.com include. You’ll need to investigate and adjust the SPF as needed. What addresses you need is outside the scope of this community.
Right ok, thanks, I’ve also realised it keeps on changing, it’s not the same for every email.
Is there anything else you recommend I investigate to help solve the issue?
Hello Safo,
you mite also like to try at the unix shell:
dig mx safomasi.com
dig spf safomasi.com
That would return: safomasi.com. 300 IN MX 5 alt2.aspmx.l.google.com. safomasi.com. 300 IN MX 10 alt3.aspmx.l.google.com. safomasi.com. 300 IN MX 10 alt4.aspmx.l.google.com. safomasi.com. 300 IN MX 1 aspmx.l.google.com. safomasi.com. 300 IN MX 5 alt1.aspmx.l.google.com.
and also safomasi.com. 3600 IN SOA kaiser.ns.cloudflare.com. dns.cloudflare.com. 2037733626 10000 2400 604800 3600