Reading DMARC Reports
Understand the XML in a DMARC aggregate report, sort legitimate senders from impostors and decide when to tighten your policy.
Key takeaways
- A message passes DMARC when either SPF or DKIM passes and the passing domain aligns with the domain in the visible From header.
- Read each record by source IP, message count, aligned results and the raw authentication domains, in that order.
- Failures usually come from a legitimate service you forgot to configure, from forwarding, or from someone using your domain without permission.
- Tighten your policy from monitoring to quarantine to reject only after your own mail passes consistently.
A DMARC aggregate report is a summary that a mail receiver sends you about messages claiming to come from your domain. Each row names a sending IP address, counts the messages seen from it, and states whether SPF and DKIM passed in a way that matches your visible From address. Reading one comes down to a single question per row: is this sender one of yours, and if so, is it passing?
The reports arrive as compressed XML files, which look unfriendly at first. The structure is small and repetitive, though, and once you know a dozen element names you can read any of them.
Turning reports on
You request reports in your DMARC record, a TXT record published at _dmarc under your domain. The rua tag lists where aggregate reports should go.
_dmarc.example.com. TXT "v=DMARC1; p=none; rua=mailto:[email protected]" p=none asks receivers to take no action based on DMARC while still reporting, which is the usual starting point. If the basics are new to you, read DMARC explained first.
Send reports to a dedicated mailbox or a processing service, because a busy domain can receive many files every day. If the destination is on a different domain from yours, that domain has to publish a DNS record agreeing to accept your reports. For a record at example.com pointing to reports.example.net, the authorizing name is example.com._report._dmarc.reports.example.net. Reporting services normally create this for you.
There is a second tag, ruf, for failure reports about individual messages. Many large receivers do not send them, partly because they can contain personal data, so plan your work around aggregate reports. DMARC was first published as RFC 7489. RFC 9989 replaced it in May 2026, with aggregate reporting now described in RFC 9990 and failure reporting in RFC 9991, so check current documentation for tags that have changed.
What arrives in your mailbox
Each report is an attachment, typically gzip or zip, whose filename identifies the reporting organization, your domain and a time range. A reporting period is usually about a day, expressed as Unix timestamps in seconds. A timestamp converter turns them into readable dates.
Receiving reports does not mean you are seeing all your mail. Only receivers that support aggregate reporting send them, and each one describes only the messages it handled.
Inside the XML there are three main blocks.
A report contains one policy_published block and as many record blocks as the receiver needs.
Reading one record
Here is a shortened example using documentation addresses.
<record>
<row>
<source_ip>192.0.2.25</source_ip>
<count>42</count>
<policy_evaluated>
<disposition>none</disposition>
<dkim>pass</dkim>
<spf>fail</spf>
</policy_evaluated>
</row>
<identifiers>
<header_from>example.com</header_from>
</identifiers>
<auth_results>
<dkim>
<domain>example.com</domain>
<selector>s1</selector>
<result>pass</result>
</dkim>
<spf>
<domain>bounce.example.net</domain>
<result>pass</result>
</spf>
</auth_results>
</record> This says that 42 messages came from 192.0.2.25 using example.com in the From header. The receiver applied no action. Under policy_evaluated, DKIM passed and SPF failed.
Then look at auth_results, where SPF shows pass. This is the part that confuses most readers. SPF did pass, but for bounce.example.net, the domain used in the envelope sender. That domain does not match example.com, so for DMARC purposes SPF counts as a failure. The DKIM signature used example.com, which matches, so the message passes DMARC anyway.
Alignment: the idea behind the two columns
Alignment means that the domain proven by SPF or DKIM matches the domain the reader sees. Relaxed alignment, the default, accepts subdomains of the same organizational domain. Strict alignment requires an exact match. The adkim and aspf values in policy_published show which mode applies, with r for relaxed and s for strict.
So the two values under policy_evaluated are the ones that decide DMARC. The values under auth_results explain why.
Identifying the sender
An IP address alone rarely means much. Use several clues together:
- Do a reverse DNS lookup to see the hostname, if one exists. PTR records and reverse DNS explains what that name can and cannot prove.
- Look at the DKIM
domainandselector. Many services use recognizable selectors or sign with their own domain. - Look at the SPF domain, which often reveals the vendor handling bounces.
- Ask around. Billing, support, marketing, HR and monitoring systems all tend to send mail, and not every team told whoever manages DNS.
Check your own outbound servers against your SPF record. A range matcher is handy for confirming whether an address falls inside a listed block.
Sort every source into one of four lists: yours and passing, yours and failing, forwarders, and unknown. Weight your attention by count, since a source with thousands of messages matters more than one with two.
Common failure patterns and their fixes
| What you see | Likely cause | What to do |
|---|---|---|
| Vendor IP, SPF passes for vendor domain, no DKIM for yours | Service not set up for your domain | Enable custom DKIM signing in the vendor's settings |
| Your own server, SPF fail | Address missing from SPF | Add it to your SPF record |
| DKIM fail on some messages only | Content altered in transit | Check gateways that add footers or rewrite links |
| SPF fail, DKIM often passes, receiver or university IPs | Forwarding | Usually harmless if DKIM survives |
| Unfamiliar networks, nothing aligned | Unauthorized use of your domain | No fix needed for them; enforcement blocks it |
Forwarding breaks SPF because the forwarder's server is not in your record. DKIM travels with the message and survives as long as the signed parts stay unchanged. Mailing lists often change the subject or body, which breaks DKIM too. Some receivers note a local override in a reason element, for example when they trust a forwarder's authentication chain.
Watch also for SPF's limit of ten DNS-querying lookups. Stacking many vendor include entries can exceed it and produce a permanent error.
Handling reports at scale
Opening XML by hand works for a tiny domain for a week. Beyond that, use a parser. You can run an open-source tool that loads reports into a database, or pay for a service that groups sources by vendor and charts them over time. Either way, check who can access the data and how long it is kept.
Whatever you use, review on a schedule. Weekly is a reasonable rhythm during rollout. Afterward, set alerts for a new high-volume source or a sudden drop in passing mail, which often means a key was rotated badly or a DNS record changed.
Privacy and housekeeping
Aggregate reports contain no message bodies or recipient addresses, but they do reveal which services your organization uses and the volume each sends. Limit access to people who need it. Remember that anyone can mail a file to your reporting address, so use a parser that handles unexpected or malformed attachments safely, and never open a "report" that arrives as an executable or an Office document.
Moving from monitoring to enforcement
Reports exist to get you to a policy that stops impersonation without blocking your own mail.
- Collect at
p=nonelong enough to see periodic senders, including monthly and quarterly jobs. - Fix each legitimate failing source, preferring aligned DKIM.
- Move to
p=quarantine, which asks receivers to treat failures as suspicious. - Keep reading reports and handle anything you missed.
- Move to
p=rejectonce the failures that remain are ones you want blocked.
Set a policy for subdomains with sp, and consider a reject policy for parked domains that never send mail.
Enforcement has limits. It protects your exact domain from being used in the From header. It does nothing about lookalike domains or misleading display names, both described in how forged senders work.
Common questions
Why do reports show IP addresses you have never heard of?
Anyone can put your domain in a From header, so receivers report whatever they saw. Forwarders also appear. Judge by authentication results and volume.
Does a DMARC pass mean the mail is safe?
No. It means the From domain was authenticated. A compromised account on your own domain passes perfectly, and so does a criminal's mail from their own domain.
What if you receive no reports at all?
Confirm the record is published at _dmarc, has only one DMARC entry, and has a correctly written mailto: address. For an external destination, check the authorization record. Then allow a few days of normal sending.