Skip to main content
Back to Blog
Small Business 8 min read

SPF, DKIM and DMARC Explained: Stop Emails Going to Spam

What SPF, DKIM and DMARC do, the sender requirements Gmail, Yahoo and Microsoft now enforce, example DNS records, how to read DMARC reports, a safe rollout plan and how to check your own domain for free.

Waqar Sharif Yar

Founder & CEOUpdated

Quick Takeaway

SPF lists the servers allowed to send email for your domain, DKIM signs each email so receivers can tell it wasn’t altered, and DMARC tells receivers what to do when a message fails those checks. Gmail and Yahoo require bulk senders to have all three, so missing records can send your email to spam.

Key takeaways

  • SPF = who may send, DKIM = proof the message wasn’t changed, DMARC = what to do with failures.
  • Since 2024, Gmail and Yahoo require SPF, DKIM and DMARC from bulk senders, plus easy unsubscribe.
  • Publish DMARC with p=none first, read the daily aggregate reports, then move to quarantine and reject.
  • SPF has a 10-DNS-lookup limit: too many “include:” entries break it.
  • You can check any domain’s records in seconds with a free tool.

If your invoices, quotes or newsletters land in spam, the cause is often not the content but three small DNS records. Big mailbox providers now check them on every message, and they have tightened the rules for senders.

This guide explains each record in plain words, shows examples and gives you a safe order to set them up. To see what any domain has published right now, run it through our free email verifier: the Domain tab shows SPF, DKIM, DMARC and DNSSEC.

Email authentication
Email authentication is a set of DNS records (SPF, DKIM and DMARC) that let receiving mail servers confirm a message really came from the domain it claims to be from.

SPF, DKIM and DMARC in One Table

What each email authentication record does
RecordQuestion it answersWhere it lives
SPFIs this server allowed to send for this domain?TXT record on your domain
DKIMWas this message signed by the domain and left unchanged?TXT record at selector._domainkey.yourdomain
DMARCWhat should happen if SPF and DKIM fail, and who gets reports?TXT record at _dmarc.yourdomain

How common is the problem?

In our 2026 email spoofing study of 1,380 US small-business domains, 78.6% had no DMARC policy that blocks fake email, and only 20.3% were fully protected.

Why It Matters Now: Gmail, Yahoo and Microsoft Rules

Since February 2024, Google and Yahoo have required every sender to authenticate with SPF or DKIM. Bulk senders (Google applies the stricter rules to anyone sending more than 5,000 messages a day to Gmail accounts) must have SPF, DKIM and DMARC, keep spam complaints low (Google asks senders to stay below 0.1% and never reach 0.3%) and offer one-click unsubscribe in marketing email. Microsoft has announced similar requirements for high-volume senders to Outlook.com addresses.

Small senders benefit too

Even if you send a few emails a day, authenticated mail is more trusted, and DMARC stops scammers from sending email that pretends to be from your domain.

SPF: Who Can Send for Your Domain

SPF is one TXT record listing the services that send your email, for example your mailbox provider and your newsletter tool.

v=spf1 include:_spf.google.com include:sendgrid.net -all
Example SPF record
  • Publish only one SPF record per domain; combine services into it.
  • SPF allows at most 10 DNS lookups. Each “include:” counts, and nested includes count too.
  • End with -all (reject others) or ~all (soft fail) once you’re sure every sender is listed.

DKIM: A Signature on Every Email

DKIM adds a cryptographic signature to each message. Your email provider generates a key pair and gives you a TXT record to publish under a “selector”, such as google._domainkey. Turn DKIM on in every service that sends as your domain: your mailbox, your CRM, your newsletter tool.

google._domainkey.yourdomain.com   TXT   "v=DKIM1; k=rsa; p=MIIBIjANBgkqh..."
Example DKIM record location and start of the value

Because selector names differ between providers, outside tools can only check common selectors. If a checker says DKIM is “unknown”, confirm it in your provider’s admin panel.

DMARC: The Policy and the Reports

v=DMARC1; p=none; rua=mailto:dmarc-reports@yourdomain.com
Example DMARC record at _dmarc.yourdomain.com
DMARC policies
PolicyWhat receivers do with failing mailWhen to use
p=noneDeliver as normal, send you reportsFirst 2–4 weeks: find every legitimate sender
p=quarantineSend to spamOnce reports show your real mail passes
p=rejectRefuse the messageFull protection against spoofing

The “rua” address is where mailbox providers send aggregate reports: one summary per provider, usually once a day, of every message they saw using your domain. An optional “ruf” address asks for per-message failure reports, which many providers don’t send. In 2026 the DMARC standard was republished as RFC 9989, with aggregate reports defined in RFC 9990; records still start with v=DMARC1, so existing records keep working.

How Do You Read DMARC Reports?

An aggregate report is an XML file, often zipped or gzipped, attached to an email from each provider (Google, Yahoo, Microsoft and others). It looks intimidating, but each report is a list of rows, and each row answers one question: “how many messages came from this IP address, and did they pass?”

<record>
  <row>
    <source_ip>203.0.113.25</source_ip>
    <count>42</count>
    <policy_evaluated>
      <disposition>none</disposition>
      <dkim>pass</dkim>
      <spf>fail</spf>
    </policy_evaluated>
  </row>
  <identifiers>
    <header_from>yourdomain.com</header_from>
  </identifiers>
  <auth_results>
    <dkim><domain>yourdomain.com</domain><result>pass</result></dkim>
    <spf><domain>mail.newsletter-tool.example</domain><result>pass</result></spf>
  </auth_results>
</record>
One record from a DMARC aggregate report (simplified)
What the main fields in a DMARC aggregate report mean
FieldWhat it tells you
source_ipThe server that sent the mail. Look it up to see which service it belongs to (your mailbox provider, CRM, newsletter tool or an unknown sender)
countHow many messages came from that IP in the report period
dispositionWhat the receiver did: none (delivered), quarantine (spam) or reject
policy_evaluated dkim / spfWhether DKIM and SPF passed and aligned with your From domain. This is the result DMARC uses
header_fromThe domain in the visible From address: yours
auth_resultsThe raw SPF and DKIM results and the domains checked, which explain why alignment passed or failed

In the example above, SPF passed for the newsletter tool’s own domain but not for yours, so the aligned SPF result is “fail”. DKIM passed with your domain, so the message still passes DMARC. That is normal for many email tools, and it is why DKIM on every sender matters.

  1. Step 1: Collect the reports in one place

    Use a dedicated mailbox or group for the rua address, or a DMARC reporting service that turns the XML into charts. Google’s admin help recommends a third-party DMARC service to receive, store and analyze them.

  2. Step 2: Group rows by sending source

    Match each source IP to a service. Most small businesses have only a few legitimate ones.

  3. Step 3: Check every legitimate source passes

    Each one needs DKIM signing with your domain (best) or SPF aligned with your domain. Fix any that fail in that service’s settings.

  4. Step 4: Investigate unknown sources

    An IP you don’t recognize is either a forgotten tool (add it properly) or someone spoofing your domain (exactly what quarantine and reject will stop).

  5. Step 5: Tighten only when the reports are clean

    When your real mail has passed for a few weeks, move to p=quarantine, watch the reports again, then move to p=reject.

Expect several reports a day

Each receiving provider sends its own report, usually daily, so even a small domain may get a handful of emails a day at the rua address. Don’t point it at your main inbox.

A Safe Setup Order

  1. Step 1: List everything that sends as your domain

    Mailbox provider, website contact form, CRM, invoicing tool, newsletter and support desk.

  2. Step 2: Publish one SPF record

    Include each sender’s SPF entry and check you stay under 10 lookups.

  3. Step 3: Turn on DKIM everywhere

    Publish each provider’s DKIM record and enable signing in its settings.

  4. Step 4: Publish DMARC at p=none

    Add a reporting address and wait two to four weeks.

  5. Step 5: Read the reports and fix gaps

    Any legitimate service failing SPF or DKIM needs to be configured.

  6. Step 6: Tighten to quarantine, then reject

    Move one step at a time and keep watching the reports.

Common Problems and Fixes

Common email authentication problems and how to fix them
ProblemLikely causeFix
SPF “permerror”Two SPF records, or more than 10 DNS lookupsMerge into one record; remove unused includes
Newsletter mail fails DMARCThe newsletter tool isn’t signing with your domainSet up its DKIM (custom sending domain) in its settings
Contact-form email goes to spamThe website sends “from” your domain without authenticationSend through an authenticated SMTP service, or use a different “from” address
DKIM shows “unknown” in checkersYour provider uses a selector the checker didn’t tryConfirm in your provider’s admin panel
Reports show unknown sendersSomeone is spoofing your domain, or a forgotten toolIdentify it; add it to SPF/DKIM if yours, otherwise tighten DMARC
Mail rejected after p=rejectA legitimate sender wasn’t authenticated yetStep back to quarantine, fix the sender, then return to reject

Most small businesses need only a few senders: their mailbox provider, one newsletter or CRM tool and perhaps an invoicing app. List them first and the rest is a short checklist.

Check Your Domain for Free

Enter any address at your domain into our free email verifier and open the Domain tab to see your SPF, DMARC policy, DKIM on common selectors and DNSSEC. Our website security checker checks SPF, DKIM and DMARC alongside your HTTPS and security headers. Before sending a campaign, also clean the list itself: our guide on how to verify an email address explains why. If your follow-ups run through a CRM, our CRM automation playbook shows how to keep lists clean automatically.

Already set up SPF, DKIM and DMARC and still landing in spam? Use our step-by-step spam troubleshooting guide. DMARC also helps against fake invoice emails, which we cover in how to spot fake invoices and payment scams.

What is the difference between SPF, DKIM and DMARC?

SPF lists who may send for your domain, DKIM signs each message, and DMARC tells receivers what to do when those checks fail and sends you reports.

Do I need DMARC if I’m a small business?

Yes, it’s recommended. It protects your domain from spoofing and helps your email get delivered. Start with p=none; it doesn’t block anything.

Why is my email going to spam even with SPF?

SPF alone isn’t enough. Add DKIM and DMARC, make sure every sending service is configured, and check your content and complaint rate.

Can I have two SPF records?

No. Multiple SPF records cause SPF to fail. Combine all senders into one record.

How do I read a DMARC report?

Open the XML attachment (or use a DMARC report viewer) and read it row by row: each row shows a sending IP, how many messages it sent and whether DKIM and SPF passed and aligned with your domain. Make sure every service you use passes, then investigate unknown senders.

How often are DMARC reports sent?

Aggregate reports usually arrive once a day from each mailbox provider that received your mail, typically covering one UTC day. Failure reports (ruf) are per message and many providers don’t send them.

How do I check my SPF, DKIM and DMARC?

Use our free email verifier: enter any address at your domain and open the Domain tab.

Add WikiAI as a preferred source on Google(opens Google in a new tab)

Free: 100 AI Automation Ideas for Small Business

A practical checklist of 100 tasks you can automate, grouped by department. Enter your email for the printable version and occasional tips.

No spam. Unsubscribe any time by replying “unsubscribe”. See our privacy notice.

Sources and further reading

Services related to this article

Small Business 11 min read

How to Follow Up on a Quote or Proposal When the Client Goes Quiet

A practical follow-up plan for contractors, agencies and freelancers: why prospects go silent after a quote, a day-by-day cadence, ready-to-copy messages, a short call script, how to answer "too expensive" and the US email and texting rules.

Small Business 11 min read

How to Check and Verify an Email Address (Without Sending One)

How email verification really works: syntax, MX records, disposable and role addresses, catch-all domains and SMTP, what no tool can promise, what to do with each result, and a practical checklist for cleaning a lead list.

Small Business 12 min read

Does My Small Business Website Need a Privacy Policy? What to Include

When a small business website needs a privacy policy (CalOPPA, state privacy laws, Google Analytics and AdSense terms), a checklist of what to include, how to disclose cookies, forms and children's data, and a plain-English outline template.

Need a Hand?

Need HelpImplementing This?

Reading about it is one thing, shipping it is another. Book a free strategy call and we will help you put it into practice in your business.

  • Free 30-minute strategy call
  • No commitment required
  • Reply by email or WhatsApp