Pabbel apps for Android are in beta. Join the beta

SPF, DKIM and DMARC

SPF, DKIM and DMARC: what they check and why mail fails them

SPF, DKIM and DMARC are three checks, published in DNS, that let a receiving mail server decide whether a message really comes from the domain it claims. Pass them and mail tends to reach the inbox. Fail them and it goes to spam, gets a warning or is refused.

At a glance

SPF
Which servers may send
DKIM
A signature on each message
DMARC
The policy and the reports
Read it in
The Authentication-Results header
Pabbel Mail
DKIM-signs custom domain mail

Updated: November 14, 2026Reading time: 4 minutes

01The short answer

Anyone can type any address into the From line of an email, so receiving servers look for proof. Your domain publishes it as TXT records, and the receiver checks them before filing the message.

  • SPF lists which servers are allowed to send mail for your domain.
  • DKIM adds a signature to each message. The receiver checks it against a public key your domain publishes, which shows the message was signed with that key and not altered on the way.
  • DMARC sits on top. It requires SPF or DKIM to pass for the same domain as the From line, and tells receivers what to do when neither does.

02How the three work together

SPF checks the hidden envelope address servers use between themselves. DKIM checks the domain named in the signature. Neither has to match the From address you see, and spoofers use that gap.

DMARC closes it with alignment: SPF or DKIM must pass, and for a domain that matches the From domain. One aligned pass is enough, so having both is safer.

SPF, DKIM and DMARC compared
CheckWhat it verifiesUsual way it breaks
SPFThe sending server is on the domain's listForwarding, a missing sender, two records, too many lookups
DKIMThe signature matches the message and a key the domain publishedA message edited after signing, a wrong or missing key
DMARCSPF or DKIM passed and matches the From domainNeither check aligns with the From domain

03How to read the result

Every receiving server writes its verdict into an Authentication-Results header. In Gmail, choose Show original; other apps call it View source or Message headers. A healthy message carries a line like this:

Authentication-Results: mx.example.net; spf=pass smtp.mailfrom=yourdomain.com; dkim=pass header.d=yourdomain.com; dmarc=pass header.from=yourdomain.com

A failing one reads differently:

  • spf=fail or softfail: the sending server is not in the domain's SPF record. An ending of ~all gives softfail, usually the spam folder; -all gives fail, which can mean refusal.
  • dkim=fail: the signature does not match the message, or the key was not found.
  • dmarc=fail: neither check passed in line with the From domain, so the domain's policy decides.
  • What you notice: spam, a bounce, or in Gmail a via note beside the sender's name when the sending domain differs from the From address.

04DMARC policies and reports

A DMARC record is a TXT record at _dmarc on your domain. Its p tag says what receivers do with failing mail, and its rua tag names an address for reports:

  • p=none: take no action, only report. Start here.
  • p=quarantine: treat failing mail as suspicious, usually by sending it to spam.
  • p=reject: refuse failing mail outright.
  • rua=mailto:you@yourdomain: where receivers send daily aggregate reports, XML summaries of who sent mail as your domain and whether it passed.

05What breaks them

Most failures come from mail taking a path the domain did not plan for:

  • Forwarding. A forwarder resends your message from its own server, which is not in your SPF record, so SPF fails at the final receiver. DKIM usually survives, because the signature travels inside the message.
  • Mailing lists. They add a footer or subject tag, which breaks DKIM, and send from their own server, which breaks SPF. Many rewrite the From address to cope.
  • Two SPF records. A domain may publish only one TXT record starting with v=spf1. With two, SPF fails for every sender.
  • Too many lookups. SPF allows ten DNS lookups; each include, a, mx and redirect counts, nested includes too. Past ten, SPF fails.
  • Third-party senders. A newsletter tool that sends as your domain must be in your SPF record or sign with your DKIM, or its mail fails once DMARC tightens.

06Where Pabbel Mail fits

Pabbel Mail signs outgoing mail from your own domain with DKIM. A custom domain comes with Plus and above, and Pabbel shows the exact records to publish. The guide to email on your own domain lists them in an order that keeps mail arriving, and suggests starting DMARC at p=none.

The records live in your own DNS, so any other service that sends as your domain has to be added there by you, inside the one SPF record. These checks prove who sent a message, not that it is private: Pabbel Mail uses TLS in transit but is not end-to-end encrypted.

07Questions

Asked and answered.

Do I need all three?
For a domain that sends real mail, yes. SPF and DKIM do the checking, and DMARC sets the policy and sends reports. Having both means forwarding or a mailing list does not sink your mail.
Why is my mail in spam when SPF passes?
DMARC needs the SPF pass to match the From domain, and spam filters also weigh reputation and content. Open the message headers and check the dkim and dmarc results first.
Does DMARC stop spoofing of my domain?
At p=quarantine or p=reject, receivers that honour it act on forged mail using your exact domain. At p=none it only reports. It does not stop lookalike domains spelled differently.
Does Pabbel Mail sign my mail with DKIM?
Yes, mail sent from a custom domain is signed with DKIM, and Pabbel shows the records to add. A custom domain comes with Plus and above.

08Keep reading

Where to go next.

Start free in about two minutes.

One Pabbel account opens Mail, Drive, Vault and Send. The free plan needs no card.