Support Home > Help Guides > Email Hosting > Email authentication: SPF, DKIM and DMARC

Email authentication: SPF, DKIM and DMARC

If emails sent from your website start bouncing, especially to Gmail addresses, it’s almost always because your domain isn’t set up to prove the mail really comes from you. Two DNS records fix it: SPF and DKIM. This guide explains what they do and how to put them in place.

The step everyone misses

Setting up DKIM has two halves, and the order matters. Generating a key in the web office is the first. The matching TXT record then has to be published in your domain’s DNS, and until it is, nobody can check your mail’s signature, so don’t switch the key on yet. Tick ‘Enabled’ only once the record is live.

Why your emails might be bouncing

Since Google tightened its sender rules in 2024, Gmail rejects mail that can’t prove where it came from through either SPF or DKIM (the bounce usually mentions code 550-5.7.26 and an ‘unauthenticated’ sender). Sending to a lot of people at once is hit hardest, but forwarded mail bounces for the same reason. It genuinely did use to work: Google changed the rules, not you and not us.

SPF: let our server send for you

An SPF record lists the servers allowed to send email for your domain. Mail from your website goes out through our server, so your SPF record needs to include it:

a:smtpweb.uk.endis.com

If your SPF record only lists Outlook, Google or another provider, mail sent through us will fail the check. Add our server alongside whatever else your email provider recommends. If you don’t have an SPF record yet, a TXT record of v=spf1 mx a:smtpweb.uk.endis.com ~all is usually enough to start with.

An SPF record is saved as a TXT record whose value starts v=spf1. So if your DNS settings don’t show a record labelled SPF, look through your TXT records before deciding you haven’t got one. A domain can only have one SPF record, and two stop both from working, so add our server to the record you already have rather than creating a second one.

DKIM: sign your mail so it’s trusted

DKIM adds a signature to your mail so providers can confirm it really came from your domain. There are two parts, and the order matters:

  1. Go to Site Settings, then General, then Email Authentication (DKIM). You’ll need the ‘Full Admin’ permission.
  2. Choose your domain and click ‘Generate Keys’.
  3. Add the TXT record shown (its name looks like hubb123uk._domainkey) to your domain’s DNS. If we look after your domain, send it to us as text and we’ll add it.
  4. Once the record is live, tick ‘Enabled’ next to the key.

Don’t tick ‘Enabled’ before the record is live. Your mail is signed from the moment you do, and until the record exists, nobody can check that signature. If you ever need to, you can delete a key and generate a fresh one.

DMARC

Once SPF and DKIM are in place, a DMARC record tells receiving providers what to do with mail that fails the checks, and lets you see reports on how your domain is being used. It’s another TXT record on your domain. If you’d like a hand setting it up, get in touch.


Good to know

  • These records apply to your whole domain, not to individual addresses. Switching from one address to another on the same domain won’t change anything on its own.
  • You need a separate DKIM key for every way you send: the website, Microsoft 365, Mailchimp and so on.
  • While you’re getting a domain sorted, you can keep things moving by sending from an address on a domain that’s already set up correctly.

Still stuck? We’re real people.

Raise a support ticket and our UK team will get back to you.

Contact support