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.
| Check | What it verifies | Usual way it breaks |
|---|---|---|
| SPF | The sending server is on the domain's list | Forwarding, a missing sender, two records, too many lookups |
| DKIM | The signature matches the message and a key the domain published | A message edited after signing, a wrong or missing key |
| DMARC | SPF or DKIM passed and matches the From domain | Neither 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.