rua aggregate reports · XML, gzip and ZIP

DMARC Report Analyzer

Drop the aggregate report files that mailbox providers email you and see which source addresses send as your domain, how many messages pass SPF and DKIM alignment, what disposition receivers applied, and which sources are failing.

Reports

Drop report files

.xml, .xml.gz or .zip, 300 files at a time, up to 64.0 MB each when unpacked

Reports with a DOCTYPE or entity declaration are refused. Archives are unpacked under a shared 256 MB limit. Source IPs are shown as reported: no reverse DNS lookup is made, so a name for an address is yours to find.

DMARC Report Analyzer

Operator: Abdulla Al Fahad. How tools are built and checked

Every mailbox provider that honours your DMARC record sends a daily XML report to the address in rua, usually zipped or gzipped, and a busy domain collects hundreds a month. Each report is a list of source IP addresses with a message count and the SPF and DKIM results the receiver saw. The question the reports answer is which of those sources are really yours, and no single file answers it.

This page reads any number of those files at once, including .gz and .zip, merges them, and shows volume, pass rates, dispositions and one row per source IP. It makes no DNS lookups, so addresses appear as reported and naming them is left to you.

Key features

  • Reads .xml, .xml.gz and .zip files recognised by content, including a zip of gzipped reports, and skips a report that appears twice
  • Totals for messages, DMARC pass, DKIM aligned, SPF aligned, and messages that passed SPF or DKIM for another domain but failed alignment
  • One row per source IP with volume, alignment rates, disposition counts, From domains, envelope domains, DKIM signing domains, reporters and first and last day
  • Bars for the authentication results and dispositions, a per-day volume chart, a reporters table and the published policy seen in the reports
  • Export of sources, every record, or an Excel workbook with Summary, Sources, Daily, Reporters and Records sheets

What an aggregate report contains and how alignment is counted

A report is a feedback element with report_metadata (reporter name, email, report id and a date_range as Unix times), policy_published (domain, adkim, aspf, p, sp, pct) and one record per source and result combination. A record's row holds source_ip, count and policy_evaluated with the disposition the receiver applied and the DKIM and SPF results after alignment. Its identifiers give header_from and envelope_from, and auth_results lists the raw dkim and spf results with their domains.

DMARC passes for a message when either the aligned DKIM or the aligned SPF result is pass. The raw auth_results can pass while the evaluated result fails, because alignment compares the authenticated domain with the From domain. Under relaxed alignment (the default for both) they match when they share an organisational domain; under strict they must be identical.

Reporters may override the result and say why in a reason element, for example forwarded or mailing_list. Those reasons are totalled on the overview.

How it works

Files are classified by their first bytes. A gzip is inflated through a stream that counts the bytes it produces and stops past 64 MB per file; a zip is opened through its directory and each member is inflated the same way. All of it draws on one 256 MB budget, so a thousand small members cannot add up to a bomb either.

XML is checked on the raw text before parsing: any DOCTYPE or ENTITY declaration refuses the file, since a legitimate report has neither. The reader then decodes only the five predefined entities, caps depth and element count, and refuses a root other than feedback.

A source's verdict is aligned when every message passed DMARC, failing when none did, and partly aligned otherwise. Counts are summed as integers from the count elements, never from the number of rows.

When this helps

  • An administrator three weeks into p=none exports the sources CSV and sends it to the marketing team with the one question, which of these IPs are yours.
  • A new SaaS sender is added to the company and its first week of reports shows 1,900 messages that pass its own SPF but fail alignment; the alignment tab explains that a DKIM key for the company domain is missing at the vendor.
  • A security analyst gets a zip of 62 gzipped reports from a forwarding service and needs to know whether the failing sources are concentrated; the Sources table shows three IPs carry 91% of the failures.
  • An engineer compares the daily chart across a DNS change and sees the pass share rise on the day the new SPF include went live.

Opening a file

  1. Select the attachments from your reports mailbox, or a folder of them, and drop them in together. Up to 300 files at a time.
  2. Open Overview for the pass rate and dispositions, then Sources and look at the failing and partly aligned rows first.
  3. Use Alignment for the explanation of why a source can pass SPF and still fail, then export the sources CSV or the workbook.

Example

Two reports for example.com, one from google.com and one from outlook.com, covering 3 and 4 March 2025

192.0.2.10: aligned SPF and DKIM, 412 + 268 messages
198.51.100.24: valid DKIM and SPF for mailer.example.net, not aligned, 96 + 73 messages
203.0.113.77: SPF fail, no DKIM, 31 + 19 messages
2001:db8::25: DKIM aligned, SPF softfail (a forwarder), 8 messages

Totals, alignment and the four sources

907 messages, 688 pass DMARC (75.9%); DKIM aligned 75.9%, SPF aligned 75.0%
169 messages pass SPF unaligned and 169 carry an unaligned DKIM signature (the same mailing service)
4 sources: 192.0.2.10 aligned (680), 2001:db8::25 aligned (8), 198.51.100.24 failing (169), 203.0.113.77 failing (50)
policy seen: p=none, sp=none, pct=100, adkim=r, aspf=r; all 907 dispositions none

Limits

Aggregate reports come only from receivers that choose to send them, and each covers the messages that receiver saw. A source missing from the reports may still have sent mail to receivers that report nothing.

The count in a record is messages as the reporter grouped them. Two reporters may group the same sender differently, so totals across reporters describe volume seen, not volume sent.

  • Reports describe the receiver's view for a UTC day, so a report starting at 00:00 UTC lands on the day before in some local time zones.
  • A source that passes DKIM and fails SPF is often a forwarder or mailing list; one that fails both is the one to look into first.

Common errors and how to fix them

The file declares a DOCTYPE or an entity. Legitimate DMARC reports do not, so it was refused.
Do not open the file with a tool that expands entities. If the report came from a real provider, ask them to resend it.
The root element is not feedback, so this is not a DMARC aggregate report.
A forensic (ruf) report is an email message in a different format, and TLS-RPT reports are JSON. Only rua aggregate XML is read.
inflates to more than 64 MB, so it was not unpacked.
A genuine daily report is rarely above a few megabytes uncompressed. A file that grows past the cap is either damaged or built to exhaust memory, so it is not opened.

Best practices

  • Read at least two weeks of reports before changing the policy, because weekly senders such as payroll or newsletters will not show in a short window.
  • Fix alignment for each legitimate source (a DKIM key for your domain at the vendor, or a custom return-path domain) before moving from none to quarantine.
  • Keep the sources CSV from each review so changes in senders are visible month to month.

Reading a failing source

Open the row and compare three things. If the SPF auth result is pass but the aligned result is fail, the sender uses its own bounce domain, and the fix is DKIM signing with your domain or a delegated return-path. If DKIM auth passes for a domain that is not yours, the same holds. If both fail and the volume is small, it may be a spoof or a forgotten system. The page can say which pattern a source shows; deciding what the source is needs your own knowledge of your senders.

Frequently asked questions

Why no reverse DNS names for the IPs?

A lookup would send every address in your reports to a DNS resolver, which is a disclosure of your mail traffic. The page stays local and shows the addresses as reported.

Does a disposition of none mean the failing mail was delivered?

It means the receiver applied no DMARC action. Under p=none a failing message is handled as if no policy existed, so it is delivered or filtered by the receiver's own spam rules, which the report does not describe. A reporter that overrode the policy says so in a reason, and those reasons are totalled on the overview.

Can it merge reports from several domains?

Yes. Everything is combined, and the published policy line lists each domain with its policy and report count, so a mixed set is visible. Sources and totals are not split by domain.