DMARC reports

Have exx.sh receive your domain's DMARC aggregate reports and read who sends mail as your domain, which of it passes DMARC, and what receivers did with the rest.

Mail receivers that check DMARC send a daily aggregate report to the address in your DMARC record's rua tag: for each server that sent mail as your domain, how many messages passed or failed DKIM and SPF alignment, and whether the receiver delivered, quarantined or rejected them. exx.sh can receive those reports for you, read them, and sum them up. DMARC reports are an exx.sh addition: Resend has no such endpoint.

Turn reports on

Once the domain is verified, turn on Receive DMARC reports on the domain's page in the dashboard, or turn on dmarc_reports for it with PATCH /domains/{id}:

curl -X PATCH "https://api.exx.sh/domains/$DOMAIN_ID" \
  -H "Authorization: Bearer $EXX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"dmarc_reports": true}'

The domain then shows its report address in dmarc_rua, of the form <token>@dmarc.mail.exx.sh, and the DMARC record in its records names it:

{
  "object": "domain",
  "name": "acme.com",
  "dmarc_reports": true,
  "dmarc_rua": "k7q2m4x9p3r8t6w1@dmarc.mail.exx.sh",
  "records": [
    {
      "record": "DMARC",
      "name": "_dmarc",
      "type": "TXT",
      "value": "v=DMARC1; p=none; rua=mailto:k7q2m4x9p3r8t6w1@dmarc.mail.exx.sh;"
    }
  ]
}

{"dmarc_reports": false} stops them. The address is the same when you turn reports on again, so a record that still names it keeps working. A domain that is not verified yet is refused with 403 validation_error.

Add the address to your DMARC record

exx.sh does not publish your _dmarc record: you keep your DMARC policy in your own DNS.

  • No DMARC record yet: add the DMARC record exactly as records shows it, a TXT record named _dmarc with the value above. p=none asks receivers to report without changing how they treat your mail.
  • A DMARC record already: keep your policy and add the address to its rua tag. With an address there already, separate the two with a comma:
v=DMARC1; p=quarantine; rua=mailto:dmarc@acme.com,mailto:k7q2m4x9p3r8t6w1@dmarc.mail.exx.sh;

The domain's checks read the record: its DMARC entry in records shows verified once the rua tag names the address, and pending while it does not.

A receiver sends reports to an address outside your domain only when that address's domain agrees to take them (RFC 7489 §7.1). exx.sh publishes that consent once for every domain, *._report._dmarc.dmarc.mail.exx.sh, so there is nothing else to add. Reports start with the next daily batch of each receiver, usually within a day.

The policy can sit on the parent domain: if you send from mail.acme.com and your DMARC record is _dmarc.acme.com, put the address of mail.acme.com in that record. Reports about the parent domain, or about a subdomain, count for the domain whose address they reach.

Read the summary

The dashboard's Deliverability page shows the summary, the sending sources, the reporters and the newest reports for each domain that receives them. GET /domains/{id}/dmarc sums the reports of a range of days, from and to included (dates such as 2026-11-01, UTC). Without them it reads every report kept:

curl "https://api.exx.sh/domains/$DOMAIN_ID/dmarc?from=2026-11-01&to=2026-11-10" \
  -H "Authorization: Bearer $EXX_API_KEY"
{
  "object": "dmarc_summary",
  "from": "2026-11-01",
  "to": "2026-11-10",
  "reports": 18,
  "failed_reports": 0,
  "messages": 4210,
  "pass": 4150,
  "fail": 60,
  "dkim_aligned": 4148,
  "spf_aligned": 3990,
  "quarantined": 12,
  "rejected": 0,
  "sources": [
    { "source_ip": "192.0.2.10", "messages": 4100, "pass": 4100, "fail": 0,
      "dkim_aligned": 4100, "spf_aligned": 3980, "quarantined": 0, "rejected": 0 },
    { "source_ip": "198.51.100.7", "messages": 60, "pass": 0, "fail": 60,
      "dkim_aligned": 0, "spf_aligned": 0, "quarantined": 12, "rejected": 0 }
  ],
  "reporters": [
    { "org_name": "google.com", "reports": 10, "messages": 3600, "pass": 3570, "fail": 30 }
  ]
}
FieldWhat it counts
messagesMessages the receivers saw from your domain
passMessages that passed DMARC: DKIM or SPF passed for a domain aligned with the From address
failMessages that failed DMARC
dkim_aligned, spf_alignedMessages whose DKIM signature, or SPF domain, passed and was aligned
quarantined, rejectedMessages the receiver put in spam or refused because of your policy
sourcesThe sending servers with the most messages, by IP address
reportersThe receivers that sent reports, with the most messages first

A report counts on the day the period it covers begins. Mail sent through exx.sh is signed with DKIM aligned to your domain, so it passes. A source that fails is either a service sending as your domain that you have not set up (add its DKIM or SPF records), a forwarder (forwarding breaks SPF, DKIM usually survives), or someone pretending to be you: the reason to move your policy from p=none to quarantine and then reject once only your own senders remain.

List the reports

GET /domains/{id}/dmarc/reports lists the reports newest first, 20 per page by default, with limit, after and before like the other lists. Each names the receiver (org_name, reporter_email), its report_id, the period it covers (begin, end) and the policy the receiver found in your DNS (policy).

A message that held no report exx.sh could read is listed with status: "failed" and a failure_reason, for example no_report (no report attached), bad_xml, or domain_mismatch (a report about another domain). Its reporter_email is the address it came from. exx.sh still takes such a message, so the receiver does not send it again. A report or message received twice is listed once.

The report address is public: it is in your DMARC record, where anyone can read it. A report that comes from somewhere else than a receiver looks like any other, so read the summary with that in mind; reports about a domain that is not yours, or not a parent or subdomain of it, are refused as domain_mismatch. The daily limits below keep anyone from filling your reports with junk or from one source taking all of a day.

Limits

To stay safe with reports anyone can send, exx.sh refuses a report message over 5 MiB, a compressed report over 3 MiB, one that expands to more than 16 MiB or more than 1000 times its compressed size, a zip with more than one file, a report with more than 10000 records, and a record with more than 16 DKIM and SPF results. A domain stores at most 500 readable reports and 200000 records a day (UTC), at most 20 of the reports from one reporter, and 50 failed messages, counted apart so they never crowd readable reports out; past a cap a report is dropped. Someone who sends many reports in the names of many different reporters can still fill a day: if a summary looks wrong, the report list shows who sent what. Reports are kept 400 days on every plan, and deleted with your organization.

On this page