# DMARC aggregate reports Mail providers such as Google, Microsoft and Yahoo send daily summaries of mail claiming to be from your domain. Mailflare reads them and shows who sends as you and whether your mail passes **DMARC** (a DNS-based sender check). Off by default, per domain. For domain admins. ## Prerequisites - Receiving turned on for the domain. - No mailbox or alias named `mailflare-reports` on the domain. - Database migrations applied. ## Turn it on 1. Open **Admin → Email → Deliverability → DMARC reports**. 2. Select **Turn on DMARC reports** for the domain. 3. Compare the current and new `_dmarc` DNS record. 4. Confirm. For a zone Mailflare does not manage, publish the shown value yourself. Reports go to `mailflare-reports@`. It is not a mailbox and cannot be renamed. No extra DNS record is needed. Cloudflare receiving gets a routing rule; Resend, SES and self-hosted SMTP need none. ### How the DNS record changes | Current state | Change | | --- | --- | | No record | Creates `v=DMARC1; p=none; rua=mailto:
` | | No record, on a subdomain | Copies the parent's effective policy (`sp`, else `p`, plus `adkim`, `aspf`, `pct`), so mail handling stays the same. If the lookup fails, nothing changes. | | Record without this address | Adds it to `rua`; everything else stays | | More than one record | Refused. Remove the extras. | Only the previewed change is applied. If the record changed meanwhile, you get `DMARC_CHANGED`. If the DNS step fails, the routing rule is removed. Mailflare never raises your policy (`p=none`, `quarantine`, `reject`). That is your choice. ## Turn it off **Turn off** removes the address from `rua` and deletes the routing rule. A record Mailflare created is deleted if unchanged. Data stays until it is 180 days old. ## Read the page | Section | Shows | | --- | --- | | Range (7, 30, 90 days) | Daily chart: passed, failed but delivered, quarantined, rejected | | By source | IP, host name, reporters, messages, DMARC/DKIM/SPF pass rates, worst result | | By reporter | Reports, messages, pass rate | | Unverified count | Reports not counted | | Recent reports | Processed, Processing, Not verified, Over the daily limit, Rejected, Failed | ## Alerts A daily job (02:00 UTC) checks domains with reports on. Spoofing and failures are judged per verified reporter. | Alert | Raised when | | --- | --- | | Possible spoofing | A source with 10+ failures yesterday never passed in the prior 30 days (top five listed) | | A source started failing | A source with 90%+ pass over 50+ messages fell below 50% on 10+ messages yesterday | | No reports | On for 3+ days and no verified report for 7 days (at most weekly) | Alerts stay until acknowledged and are not duplicated. Email to the domain owner is optional (off by default) and needs a domain that can send. ## Which reports are trusted Anyone can email the report address. A report is **verified** only if: 1. the report email's `From` domain passed DMARC, and 2. that domain's organization matches the contact email inside the report. Organizations follow the Public Suffix List, so `alice.github.io` and `example.co.uk` count separately. Only verified reports add totals, sources and alerts. Others appear only as a count. Verification proves **who sent** a report, not that its numbers are true. ## Processing and privacy - Report email never enters a mailbox, is never forwarded, and skips reject and forward rules. - The raw email is deleted after parsing. Only totals are kept (per day, source IP and result). No message content; no forensic (`ruf`) reports. - No URL from a report is fetched. Busiest source IPs get a reverse DNS lookup through the app's DNS-over-HTTPS resolver (Cloudflare sees those IPs). - A report is recorded once. It must be about your domain or a subdomain. - Unreadable reports show as Rejected or Failed and are not retried. ## Limits | Item | Limit | | --- | --- | | Report email | 5 MiB | | Compressed attachment | 3 MiB | | Decompressed | 8 MiB, and 1,000 times the compressed size (64 KiB always allowed) | | ZIP | One unencrypted `.xml` entry | | XML | No ``, numeric character references and CDATA. - **Writes:** batches of 50 statements, under 100 parameters each. - **Tables:** `domain_deliverability`, `deliverability_reports`, `dmarc_daily_stats`, `deliverability_alerts` (SQLite migration `0100`, PostgreSQL/MySQL `0024`). All are in backups; `dmarc_daily_stats` without its `id`. The record Mailflare created is kept in `domain_deliverability.dmarc_created_record`. - **Routes:** `/api/deliverability/[domainId]`, plus `/reports`, `/dmarc`, `/alerts/[alertId]`. Need a session and domain admin; changes need same origin. ## Troubleshooting | Problem | Cause | Fix | | --- | --- | --- | | Cannot turn on | Name taken, receiving off, or several records | Fix that item | | `DMARC_CHANGED` | Record changed after preview | Review and confirm again | | No reports | DNS not published or no mail seen | Check `_dmarc`, wait a day | | Report "Not verified" | Sender checks did not match | No action; it is not counted | ## Related - [MTA-STS and TLS reports](mta-sts.md) - [Suppression list](deliverability.md)