Gmail not accepting emails from me

Hi all,
I have been getting my emails bounced back from Gmail due to SPF and DKIM records.

I have tried to add them but think I may have got it wrong.
This is what I have in the SPF record
Value: v=spf1 mx ~all

Any help would be awesome thank you. I’m a bit lost here

Stuff like the actual DKIM and SPF records to use, would be something you would need to consult your email provider for.

We wouldn’t be able to help much here (e.g. on a third party community forum), without a lot more information, including, but maybe not limited to:

  1. What is your domain name?

  2. What provider are you using to send your emails?

  3. What does your provider ask you to do, in regards to DKIM / SPF?

1 Like

Hi DarkDevil,
My domain is wycombe-electrical dot com
I am using ukhost4u as host
My host hasn’t mentioned anything to me. I just all of a sudden started to get mails bounced back from Gmail

Hi DaerkDevil,
My domain is wycombe-electrical dot com
I am using ukhost4u as host
My host hasn't mentioned anything to me. I just all of a sudden started to get mails bounced back from Gmail

host gmail-smtp-in.l.google.com [66.102.1.26]
    SMTP error from remote mail server after end of data:
    550-5.7.26 This message does not pass authentication checks (SPF and DKIM both
    550-5.7.26 do not pass). SPF check for [wycombe-electrical dot com] does not pass
    550-5.7.26 with ip: [188.64.186.23].To best protect our users from spam, the
    550-5.7.26 message has been blocked. Please visit

    550 5.7.26 information. u1-20020a05600c440100b003dfe19f642esi5106280wmn.129 - gsmtp

You can lose the + plus signs in your SPF record. They represent the default condition and as such end up just wasting space. You can also lose the entry for +a altogether. Your A record resolves to the Cloudflare Proxy which will never send email on behalf of your domain. You don’t need both mx and the ip record since your MX record points to that IP. Pick one and lose the other. I’d lean toward using MX if your receiving mail server is also your sending mailserver, since you will only need to update the MX record if you ever move it to another IP.

Your MX hostname beginning with _dc-mx indicates that you are currently using a hostname that is set to :orange: proxied. You definitely do not want to do that. Create a dedicated A record such as mail.example.com and set it :grey: DNS Only. Update your MX record to use that hostname instead of the one it is currently using. That will eliminate the synthetic MX hostname that starts with _dc-mx.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.