DNS and authentication

DMARC reports: how to get them and how to read them

Short answer

DMARC reports are XML files that mailbox providers email to the address in your DMARC record's rua tag, usually once a day. Each one lists the IP addresses that sent mail claiming to be your domain, how many messages, and whether SPF and DKIM passed and aligned. Read them to find every service sending as you, fix the legitimate ones that fail, and spot spoofing before you move to p=quarantine or p=reject.

Last checked 16 November 2026

DMARC reports are daily summaries that mailbox providers send you about every message they saw using your domain in the From address. You request them with the rua tag in your DMARC record, and they arrive as compressed XML attachments. Reading them tells you which services send as your domain, which ones fail SPF or DKIM, and whether anyone is spoofing you.

How to start receiving reports

Add a rua address to your DMARC record:

_dmarc.acme.com.  TXT  "v=DMARC1; p=none; rua=mailto:dmarc@acme.com"

Reports start arriving within a day or two from providers that support them, as long as you send mail to their users. If you do not have a DMARC record yet, start with the DMARC setup guide.

Use a dedicated mailbox. A busy domain can receive dozens of reports a day.

Sending reports to another domain

If rua points at an address on a different domain, such as a report service, the receiving domain must publish a TXT record that authorizes it. For acme.com reporting to reports.example.net, the record lives at acme.com._report._dmarc.reports.example.net and contains v=DMARC1 (RFC 7489 section 7.1). Without it, providers silently skip the reports.

Aggregate (rua) vs failure (ruf) reports

Aggregate (rua) Failure (ruf)
Content Counts per sending IP, with SPF, DKIM and DMARC results Details of individual failing messages
Format XML, usually compressed Message-like reports
Frequency Usually daily (ri defaults to 86400 seconds) Per failure
Support Widely sent by large providers Many providers send few or none, partly for privacy

Aggregate reports are what you need. Failure reports are optional and often never arrive.

What is inside an aggregate report

The original DMARC specification defined the XML format and gzip compression, and the 2026 update (RFC 9989) kept aggregate reports (RFC 7489). In practice attachments arrive as .xml.gz or .zip. A trimmed example:

<feedback>
  <report_metadata>
    <org_name>google.com</org_name>
    <date_range><begin>1763251200</begin><end>1763337599</end></date_range>
  </report_metadata>
  <policy_published>
    <domain>acme.com</domain><p>none</p>
  </policy_published>
  <record>
    <row>
      <source_ip>203.0.113.10</source_ip>
      <count>42</count>
      <policy_evaluated>
        <disposition>none</disposition>
        <dkim>pass</dkim>
        <spf>pass</spf>
      </policy_evaluated>
    </row>
    <identifiers><header_from>acme.com</header_from></identifiers>
    <auth_results>
      <dkim><domain>acme.com</domain><result>pass</result></dkim>
      <spf><domain>send.acme.com</domain><result>pass</result></spf>
    </auth_results>
  </record>
</feedback>
Element What it tells you
org_name Which provider sent the report
date_range The period covered, in Unix seconds
policy_published Your DMARC record as the provider saw it
source_ip The server that sent the mail
count How many messages came from that IP
policy_evaluated/dkim and spf Whether each passed and aligned for DMARC
disposition What the provider did: none, quarantine or reject
auth_results The raw SPF and DKIM results and the domains checked

The key distinction: auth_results can show DKIM pass while policy_evaluated shows fail. That means DKIM passed for some other domain, usually the vendor’s, and did not align with your From domain.

A free script to summarize reports

This Python script uses only the standard library. Save it as dmarc_summary.py and run python3 dmarc_summary.py report.xml.gz.

import gzip, sys, zipfile
import xml.etree.ElementTree as ET

path = sys.argv[1]
if path.endswith('.zip'):
    with zipfile.ZipFile(path) as z:
        data = z.read(z.namelist()[0])
elif path.endswith('.gz'):
    with gzip.open(path) as f:
        data = f.read()
else:
    with open(path, 'rb') as f:
        data = f.read()

root = ET.fromstring(data)
print('Report from', root.findtext('report_metadata/org_name'))
for rec in root.iter('record'):
    row = rec.find('row')
    print(
        row.findtext('source_ip'),
        row.findtext('count'),
        'dkim=' + row.findtext('policy_evaluated/dkim'),
        'spf=' + row.findtext('policy_evaluated/spf'),
        'from=' + rec.findtext('identifiers/header_from'),
    )

For larger volumes, a dedicated DMARC report analyzer charts the same data across days and providers.

Reading the timestamps and counts

The begin and end values in date_range are Unix timestamps in seconds. Convert one with date -u -r 1763251200 on macOS or date -u -d @1763251200 on Linux. Each provider reports on its own schedule and only covers mail sent to its own users, so totals across reports will not match your sending logs exactly. Look at proportions and patterns, not exact numbers.

How to act on what you find

Group the rows by source and decide what each one is:

What you see What it means What to do
Your email service’s IPs, both pass Healthy Nothing
A known tool, DKIM fail, SPF pass Tool signs with its own domain Set up its custom DKIM
A known tool, both fail Tool not authorized at all Add SPF or DKIM for it, or stop it sending as you
Unknown IPs, both fail, small counts Spoofing or forwarding Fine to block once you reach p=reject
Mailing list or forwarder IPs, SPF fail, DKIM pass Forwarding broke SPF Expected; DKIM keeps DMARC passing

Watch for one more pattern: a service you cancelled long ago that still appears, or one that never appears. Both are hints for cleaning up your SPF record and its lookup count.

When to move from p=none

Move to p=quarantine when every legitimate source in a couple of weeks of reports shows DMARC pass, and what remains failing is spoofing or forwarding. Keep the rua tag after enforcement. Reports are how you notice when someone adds a new tool without telling you.

Mailcandor and DMARC reports

Mailcandor does not collect or analyze DMARC reports; they go to whatever address you set in rua. What we do is make sure mail sent through us shows up as a clean pass: three DKIM records on your domain and an aligned return-path on send.yourdomain. Our tools check that your DMARC record is valid, and the SPF, DKIM and DMARC guide covers the full setup.

Questions

How do I get DMARC reports?

Add rua=mailto:you@yourdomain to your DMARC record at _dmarc.yourdomain. Providers that support reporting will send aggregate reports to that address, typically daily.

What is the difference between rua and ruf?

rua is for aggregate reports: daily XML summaries of all mail seen. ruf is for failure reports about individual failing messages. Aggregate reports are the ones you will actually use.

Why am I not receiving DMARC reports?

Check the record has a valid rua with mailto:, that the mailbox accepts attachments, and that you have sent enough mail to providers that report. If rua points to another domain, that domain must publish an authorization record.

Do I need a DMARC report analyzer?

For a handful of reports a day, a short script or reading the XML is fine. If you send a lot or have many domains, a report service that charts the data saves time.

Are DMARC reports private?

They contain IP addresses and message counts, not message content. Failure reports can include headers or parts of messages, which is one reason many providers do not send them.

Related

Send with someone on your side.

Unlimited domains on every plan, a person before any block, and 3,000 emails a month free. Tell us what you send and we set you up within one business day.