Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
Skip to content
World desk6 min

DMARC Aggregate Reports: Reading the XML, GZIP, and Email Attachments

DMARC aggregate reports are gzipped XML files sent by email. Here is how to open one and which fields to check first: source IP, count, disposition, and alignment.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A DMARC aggregate report is an XML file, usually gzip-compressed, that a receiving mail system sends by email to the address a domain owner lists in the rua tag of its DMARC record. Most people never open one because the file is built for software to total up, not for people to skim. You do not need to read all of it. A few fields per row, read in a fixed order, answer the practical questions: who is sending mail as your domain, whether your legitimate senders pass authentication, and what receivers did with the mail.

Where the report comes from

The rua setting in a domain’s DMARC record designates where aggregate feedback is sent. RFC 7489 requires receivers to support a mailto: reporting URI and says they must not generate aggregate feedback reports when rua is absent. If you expect reports and none arrive, check the published record before anything else. The reporting specification is at RFC 7489.

As an Amazon Associate I earn from qualifying purchases.

Why the report is XML, gzipped, and emailed

RFC 7489 specifies that the aggregate report travels as a MIME part in an email. The aggregate data must be XML and should be GZIP-compressed. The section on email states it this way:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

“The aggregate data MUST be an XML file that SHOULD be subjected to GZIP compression.” (RFC 7489, Section 7.2.1.1, “Email”)

RFC 9990 is the current aggregate reporting specification and keeps XML and GZIP as the recommended format. It also defines a filename pattern and requires a .xml or .xml.gz extension depending on whether the file is compressed. See RFC 9990.

The format is the reason a raw attachment is awkward. Receivers generate these files at scale so that a platform can aggregate many reports from many sources. The output is closer to a data export than a message, so the job is to extract a small set of fields, not to read prose.

What is inside a report

The report metadata identifies the reporting organization, a report ID, and the date range covered. The body then lists rows. Each row groups traffic from one source IP address and carries a message count, the disposition the receiver applied, and the policy-evaluated SPF and DKIM results. Authentication-result elements record the domains involved and the raw SPF and DKIM outcomes, which help explain a mismatch. Details are defined in RFC 9990.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A report is not a list of spam complaints. It summarizes how mail claiming your domain was authenticated and handled. Mail that never reached a receiver can still appear through the sources that did send it, which is why the source IP column matters more than any single row.

Opening the attachment

  1. Save the attachment without opening it in a mail client’s preview pane.
  2. If the file ends in .xml.gz, decompress it. On Linux or macOS, run gunzip -k report.xml.gz. On Windows, use an archiver that supports gzip, such as 7-Zip.
  3. Open the resulting .xml file in a plain-text editor. A browser also displays the XML structure, which makes nested elements easier to follow.

How to read a report

  1. Confirm the reporter and date range. Check the reporting organization and the covered period before drawing any conclusion from the counts.
  2. Group rows by source IP and sum the counts. This shows which systems sent mail claiming your domain and how much each one sent.
  3. Check the disposition. The values none, quarantine, and reject describe the action the receiver reported. Compare that with your published policy and investigate unexpected results.
  4. Check the policy-evaluated SPF and DKIM results. These show whether each mechanism aligned with the From domain for DMARC purposes.
  5. Check the authentication-result details. Use the domains and raw outcomes to diagnose why alignment failed.

Interpreting what you find

Recognized senders versus unknown sources

Start with the source IPs you already know: your email platform, marketing service, transactional sender, and any forwarding path you use on purpose. Microsoft’s DMARC configuration guidance recommends deciding whether each IP is a legitimate sender or an unauthorized one, and treats high volume from an unknown IP as a possible spoofing signal. The guidance is at Microsoft Learn.

Authentication passing is not the same as alignment

A message can pass SPF or DKIM and still fail DMARC if the domain that passed does not align with the From domain. The policy-evaluated values answer the DMARC question. The raw SPF or DKIM result only tells you whether that mechanism authenticated its own identifier. When a legitimate sender shows failures, the mismatch is often in the sending domain or the envelope and signing setup, not in the mail itself.

A failed row is a lead, not a verdict

An unexpected source is a reason to investigate. It is not proof of an attacker. Forwarding, mailing lists, and third-party services can all produce rows that look wrong until you match them to a known path. Confirm the path before changing policy, and avoid treating a single row as conclusive attribution.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How often reports arrive

RFC 7489 says implementations must be able to provide daily reports and should be able to provide hourly reports when requested. Non-daily delivery is handled on a best-effort basis. This is a capability statement in the standard, not a guarantee that every receiver sends a report at a given hour, so expect irregular timing and plan around daily data.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What the evidence does not establish

The official sources cited here do not provide a current statistic about how many domains read their reports or how much unauthorized mail exists. Any headline percentage you see online should be traced to its own study before you rely on it. The standards also do not give a size figure you can apply to attachments today. RFC 7489 mentions a commonly observed receiver limit in its discussion of compression, but describes it as historical and not universal, so do not use it as present-day guidance.

Questions a report can answer

  • Which IP addresses are sending mail that claims to be from my domain?
  • Are my legitimate senders passing SPF and DKIM in a way that aligns with DMARC?
  • Is anyone sending unauthorized mail from my domain?
  • Is my sending volume consistent with what I expect, or are there anomalies?

These are the questions Microsoft’s guidance and the DDMARC explainer on aggregate reports raise as the practical uses of the data. Answering the last one requires a baseline, which means knowing your normal volume by source before an anomaly shows up.

Reading the XML by hand or with an analyzer

Manual reading works for a single domain with a few sources and a low report volume. Once several domains or a steady stream of reports arrive, a DMARC report analyzer or aggregate-report monitoring service becomes the practical option. When you compare tools, these are the criteria that matter:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Whether it ingests the attachment directly, including .xml.gz files, without manual decompression.
  • How clearly it shows source IP, count, disposition, and policy-evaluated SPF and DKIM for each row.
  • Whether it keeps history, so you can compare this week with last month.
  • Whether it supports alerts when a new source appears or a volume spike occurs.
  • How it helps you separate authorized senders from possible spoofing, rather than listing every row with equal weight.

The standards and Microsoft guidance cited here do not rank products or state prices, so judge any tool against these criteria rather than against a generic claim of accuracy.

The Bottom Line

The XML, the gzip, and the email are not the real barrier. The barrier is reading rows without an inventory of your own senders. Build that list first, and the aggregate report becomes a short check of source IPs, counts, dispositions, and alignment.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.