How to read DMARC reports

Written by Micronet AS · Updated

Short answer

How do I read a DMARC report?

A DMARC aggregate report is an XML file that receivers such as Google and Microsoft send to the address in rua, usually once a day. Each row shows an IP address that sent email in the name of the domain, how many emails it sent, and whether SPF and DKIM passed with the right domain. Rows that fail from services you know must be fixed. Rows from unknown IP addresses are often spoofing.

The reports are the reason you can move to p=reject without guessing. They show everyone who uses your domain, including services you have forgotten. The format is described in RFC 9990.

What a report contains

  • Who sent the report, and which day it covers.
  • The DMARC policy the receiver found for the domain.
  • One row per combination of IP address and result: the number of emails, what the receiver did with them, and the result for SPF and DKIM.

The reports do not contain the content of the emails, nor the subject or the recipient addresses.

An example

<record>
  <row>
    <source_ip>203.0.113.25</source_ip>
    <count>42</count>
    <policy_evaluated>
      <disposition>none</disposition>
      <dkim>fail</dkim>
      <spf>pass</spf>
    </policy_evaluated>
  </row>
  <identifiers>
    <header_from>company.com</header_from>
  </identifiers>
  <auth_results>
    <dkim>
      <domain>mailer.example</domain>
      <result>pass</result>
    </dkim>
    <spf>
      <domain>company.com</domain>
      <result>pass</result>
    </spf>
  </auth_results>
</record>

The row says that 42 emails came from 203.0.113.25 with company.com in the From address. Under auth_results, DKIM passed, but for the domain mailer.example. That does not match the From address, so under policy_evaluated DKIM is fail. SPF passed for company.com, so the emails passed DMARC anyway.

This is the most common trap: auth_results shows whether the check passed, while policy_evaluated shows whether it passed with the right domain. policy_evaluated is what DMARC uses.

Four kinds of rows, and what to do

The row showsWhat it meansWhat you do
Known service, SPF or DKIM passes with your domainEverything is in order.Nothing.
Known service, both failThe service is not set up for your domain.Turn on DKIM with your own domain, and add the service to SPF.
Unknown IP address, both failSpoofing, or a service you have forgotten.Look up the address with reverse DNS lookup and IP to ASN.
SPF fails, DKIM passesOften forwarded email.Nothing. This is why DKIM matters.

How to get an overview

A domain with some traffic quickly gets dozens of files a day. The DMARC report reader reads XML, gz and zip right in the browser and totals per sender, without uploading the files. A DMARC service does the same every day and alerts you when a new sender appears.

Failure reports (ruf)

Failure reports concern one single email and can contain parts of it. Few receivers send them. Microsoft 365 does not. So plan with the aggregate reports. If you get a failure report, you can read it with the RUF failure report reader.

Sources

Questions and answers

How often do the reports arrive?

Usually once a day from each receiver that has received email from the domain. The new standard has removed the ri tag, which asked for another interval.

Why do I get no reports?

The most common causes are a typo in rua, that the address is on another domain that has not authorised it, or that no email has been sent from the domain yet. The first reports usually arrive within one to two days.

Who sends DMARC reports?

Google, Microsoft and Yahoo, among others. Not every receiver does, so the reports show a large part of the email, but not all of it.