What DMARC adds to SPF and DKIM
SPF and DKIM each check something, but neither says what to do when the check fails, and neither is tied to the address people actually see in the From line. DMARC fixes both. It tells receivers: only accept mail as coming from this domain if SPF or DKIM passed using the same domain as the From address, and here is what to do with mail that does not. It also asks receivers to send you reports, which is how you find out who is sending mail as your domain.
Every tag the generator can set
| Tag | What it does | Notes |
|---|
| v | Version | Always DMARC1 and always first. |
| p | Policy for failing mail: none, quarantine or reject | Required. |
| sp | Policy for subdomains | Optional. Without it, subdomains follow p. |
| rua | Where to send aggregate reports | Strongly recommended. One or more mailto: addresses. |
| ruf | Where to send failure reports | Optional. Many large receivers do not send these. |
| adkim, aspf | Alignment mode: relaxed (r) or strict (s) | Relaxed is the default and is right for most domains. |
| pct | Percentage of failing mail the policy applies to | Use it to phase in quarantine or reject. |
| fo | When to produce failure reports | 0 (default), 1, d or s. |
| ri | Requested seconds between aggregate reports | Default is 86400, one day. Receivers may ignore it. |
Roll out in stages
The common mistake is to publish p=reject on day one and discover, through bounced invoices, that a forgotten system was sending as you. The safe route is to start by watching and tighten only when the reports are clean.
- Publish p=none with a rua address that reaches a mailbox or reporting service you will actually read.
- Over the following weeks, list every source in the reports. Fix SPF or DKIM for each legitimate one. Anything unrecognised may be spoofing, or may be a forgotten system.
- Move to quarantine with a small pct, then raise it in steps as the reports stay clean.
- Move to reject once every legitimate source passes, and keep reading the reports afterwards.
The stage table under the generator shows each step as a record you can copy.
Alignment, in plain words
DMARC passes when SPF or DKIM passes and the passing domain matches the From domain. With relaxed alignment, a subdomain counts as a match: mail from mail.example.com aligns with a From of example.com. With strict alignment, the domains must be identical. Strict is only worth it when you control every sender and want the tightest rule; it can break legitimate mail from third-party services that use subdomains.
Sending reports to another domain
If your rua address is on a different domain from the one you are protecting, such as a reporting service, receivers check that the other domain agrees to receive your reports. It does so by publishing a TXT record at yourdomain._report._dmarc.otherdomain with the value v=DMARC1. Reporting services normally set this up for you; the generator reminds you when it applies.
Aggregate reports are XML
The daily rua reports are compressed XML files, one per receiver, listing sending IPs, message counts and SPF and DKIM results. They are hard to read by hand once more than a few arrive each day. Most people use a reporting service or a script to turn them into a table. Whatever you use, review it regularly, especially after adding a new sending service.
Where to publish it
Create a TXT record named _dmarc at your domain (so the full name is _dmarc.example.com) and paste the generated value. There must be exactly one DMARC record. After DNS has updated, run our SPF, DKIM and DMARC checker on the domain to confirm it reads as you intended.