Email deliverability: SPF, DKIM and DMARC explained

Why business emails land in spam, how SPF, DKIM and DMARC work, what Gmail, Yahoo and Microsoft require of senders, and how to set everything up.

By the UK Technology Hub teamPublished 4 minute read

The short answer

SPF lists the servers allowed to send email for your domain, DKIM adds a digital signature proving messages weren't altered, and DMARC tells inboxes what to do when checks fail and sends you reports. Gmail, Yahoo and Microsoft now require authentication for bulk senders, plus easy unsubscribes and low spam rates. Setting all three up improves deliverability and makes your domain harder to spoof.

If your quotes, invoices or newsletters land in spam, you lose business without knowing it. Email authentication is the foundation of reliable delivery, and it's now a requirement for many senders. Here's what SPF, DKIM and DMARC do and how to set them up.

Why emails land in spam

Inbox providers look at:

  • Authentication: can they verify the email really came from your domain?
  • Reputation: does your domain and sending service have a history of wanted mail?
  • Engagement and complaints: do recipients open, reply or mark messages as spam?
  • Content and formatting: spammy patterns and broken links can hurt.
  • List quality: sending to old or purchased lists leads to bounces and complaints.

SPF: who can send

SPF (Sender Policy Framework) is a DNS TXT record listing the services allowed to send email for your domain, such as Google Workspace, Microsoft 365, your email marketing platform and your website's form service.

Tips:

  • You can only have one SPF record per domain; combine services into it.
  • Keep it under the limit of ten DNS lookups.
  • End with "~all" (soft fail) or "-all" (hard fail) once you're confident it's complete.

DKIM: proving messages weren't altered

DKIM (DomainKeys Identified Mail) adds a digital signature to each email. Your sending service gives you a public key to publish as a DNS record. Receiving servers use it to verify the message came from an authorized sender and wasn't changed in transit. Set up DKIM for every service that sends on your behalf.

DMARC: policy and reporting

DMARC (Domain-based Message Authentication, Reporting and Conformance) ties SPF and DKIM together. It checks that the visible "From" domain aligns with the authenticated domain, tells receivers what to do if checks fail, and sends you reports.

Policies:

  • p=none: monitor only. A good starting point.
  • p=quarantine: send failing messages to spam.
  • p=reject: block failing messages.

Start with p=none, review reports to find legitimate services you missed, then move to quarantine and eventually reject to block spoofing. DMARC also helps protect your customers from phishing emails pretending to be you, which our small business cybersecurity checklist covers.

What Gmail, Yahoo and Microsoft require

Since February 2024, Gmail and Yahoo have required:

  • All senders: SPF or DKIM authentication, valid DNS records and spam rates kept low.
  • Bulk senders, around 5,000 or more messages a day to their users: SPF, DKIM and DMARC, alignment of the From domain, one-click unsubscribe for marketing emails, honoring unsubscribes within two days, and spam complaint rates below 0.3%.

Microsoft began enforcing similar requirements for high-volume senders to Outlook.com addresses in 2025.

Setting it up step by step

  1. List every service that sends email using your domain: workspace email, marketing platform, CRM, help desk, ecommerce store, website forms, invoicing software.
  2. Create or update your SPF record to include all of them.
  3. Enable DKIM in each service and publish the keys in DNS.
  4. Add a DMARC record with p=none and a reporting address.
  5. Review reports for a few weeks using a DMARC reporting tool.
  6. Tighten the policy to quarantine, then reject.

Your DNS might be managed by your domain registrar, your hosting provider or a service like Cloudflare or Vercel. Our guide to choosing web hosting explains how domains, DNS and hosting fit together.

Website forms and transactional email

Contact forms and order confirmations should send through an authenticated transactional email service, not directly from a web server. Use a domain you've authenticated, and keep API keys on the server, never in website code.

Best practices beyond authentication

  • Send only to people who opted in.
  • Remove bounced and inactive addresses regularly.
  • Make unsubscribing easy.
  • Use a consistent From name and address.
  • Send at a steady volume, and warm up new domains gradually.
  • Consider a separate subdomain for marketing email.

CAN-SPAM basics

US commercial emails must follow CAN-SPAM: no deceptive headers or subject lines, identify ads where applicable, include a valid physical postal address, offer a clear way to opt out and honor opt-outs within ten business days.

How we help

Our web development team sets up authenticated transactional email for website forms and stores. Our maintenance plans include DNS and email authentication checks, and our web app team builds notification systems that follow deliverability best practices.

Frequently asked questions

Do I need DMARC if I only send a few emails?

Yes, it's recommended. It protects your domain from spoofing and helps deliverability, even at low volumes.

Why are my website form emails going to spam?

Often because they're sent from a server not authorized in SPF or without DKIM. Use an authenticated transactional email service.

How long does it take to set up SPF, DKIM and DMARC?

The records can be added in an hour or two. Moving DMARC to a strict policy safely usually takes a few weeks of monitoring.

This guide is general information, not legal, tax or financial advice, and details such as prices, features and rules can change. Product and company names mentioned are trademarks of their respective owners and are used only to identify those products; UK Technology Hub is not affiliated with or endorsed by them.

Related guides

Small business cybersecurity checklist for 2026

The essential security steps every US small business should take, from multi-factor authentication and backups to phishing training and website protection.

All SEO, security & maintenance guides for US businesses