User guide

Everything you need to get from a folder of DMARC report files to a clear answer. The screenshots show fictional demo data.

Install and start

macOS (Apple Silicon)

  1. Download DMARC-Reports-1.0.0-macOS.zip from the download page and unzip it.
  2. Drag DMARC Reports.app into your Applications folder.
  3. The first time, Control-click (or right-click) the app, choose Open, then confirm. The app is not signed with an Apple developer certificate, so macOS asks once.

The app brings its own Java. There is nothing else to install. On an Intel Mac, use the source package below.

Any system: run from source

This works on Windows, Linux and Intel Macs.

  1. Install a JDK 21 or newer, for example from adoptium.net.
  2. Download and unzip DMARC-Reports-1.0.0-source.zip.
  3. Start it:
    • Windows: double-click run.bat
    • macOS: double-click run.command
    • Linux: run ./run.sh in a terminal. ./install-linux-launcher.sh adds an entry to your application menu.

The scripts check that Java 21 is available and tell you if it is not. The very first start downloads the libraries the app needs, so it needs internet once and can take a minute.

Get your reports

DMARC reports come from the receiving mail providers. They send them to the address in the rua= part of your domain's DMARC record (the DNS entry _dmarc.your-domain), usually once a day. Each report is an email attachment: an .xml file, or one compressed as .zip or .gz.

Save the attachments into any folder. You do not need to unpack them. The app reads ZIP, GZIP and XML directly.

No reports yet? Check that your domain has a DMARC record with a rua=mailto:… address you can read. Reports start arriving a day or two after you publish it.

Import reports

After an import: a bar at the top says 2 imported, 1 failed, with the reason for the broken file. The first new report is open.
After an import, the bar at the top summarises the result and the first new report opens.

There are two ways:

  • Drag and drop. Drag files onto the window, anywhere. The dashed field at the top left lights up.
  • Open file … Click the button in the same field and select one or more files.

You can import many files at once. For each file the app tells you what happened:

  • imported: the report is now in your history. The first new report opens.
  • already exists: you imported this report before. It is recognised by receiver and report ID and is not stored twice. If nothing new arrives, the view stays as it is.
  • failed: the bar names the file and the reason, for example that it is not a DMARC report or is damaged. The other files are still imported.

For safety, the app refuses files that unpack to more than 100 MB and reports that contain a DOCTYPE declaration.

The overview

After the start, and whenever you click Overview above the history, the right side shows the big picture over all reports. If you use the search or the period (see the next section), the overview covers only the reports shown in the history. The top right then says Filter active, with a link to reset it.

The full overview with verdict, key figures, emails per month, receivers, checks and suspicious senders.
The overview of 63 demo reports. The red bar in the chart is a past incident: a newsletter tool was not yet authorised.

From top to bottom

  • Verdict. One sentence about the whole selection, with a traffic light. It also tells you if SPF or DKIM never passes.
  • Key figures. Reports (and how many need a look), emails (and how many receivers), passed, failed.
  • Emails per month. Green is passed, red is failed. Point at a bar for the numbers. The chart shows up to the latest 60 months.
  • By receiver. Each provider that sent you reports, with its share of passed mail.
  • Checks at a glance. The share of emails for which SPF and DKIM passed and matched your domain, and the share that passed DMARC. Below, your current policy and, if needed, a hint what to check.
  • Suspicious senders. The IP addresses behind failed emails, with how many were rejected, which receivers saw them, and when they were last seen. Click an IP address to copy it.

The traffic light

LightSingle reportOverview
✓GreenNo email failed.No email failed.
!YellowSome emails failed, but fewer than 10, or under 10 % of the report.Some emails failed.
✕RedAt least 10 emails failed and at least 10 % of the report.At least one report in the selection is red.

Single failed emails are common and mostly harmless: they are often someone trying to send mail in your name, and your policy stopped it. Red means a large share failed and deserves a look at your own mail servers.

History, search and period

The sidebar with the search field, the From and To dates, the number of matching reports and the list of reports.
The sidebar. Each entry shows the receiver, your domain, the date, the number of emails, and the traffic light.
  • Search. Type any part of a domain, a receiver name (such as google) or an IP address. The list updates as you type.
  • From and To. Limit the list to a period. Both days are included. A report counts by the start of its period, in your time zone.
  • Reset filters clears both.

The list, the count under it and the overview always use the same filter. Click an entry to open that report; click Overview to go back.

Read a single report

A single report: a red verdict, three figures, a table of senders and the explanation panel.
A report from the demo data: 47 of 81 emails failed, nearly all from one IP address.

What you see

  • Verdict. The sentence and traffic light at the top. It names the main failing IP address and says whether the mail was delivered, quarantined or rejected.
  • Figures. Emails in the report, how many passed DMARC, how many failed.
  • Senders. One row per source IP and result, failures first. Click a column header to sort. SPF and DKIM show the result that counts for DMARC. Result is what the receiver did: delivered, quarantine (usually the spam folder) or rejected.
  • Hostname. Looked up for the 100 senders with the most email. (confirmed) means the name points back to the same IP address, which is what a genuine mail server looks like. no record means the IP has no name. unavailable means the lookup did not work, for example without internet.
  • Copy. Click an IP address or a hostname and it is copied to the clipboard.
A report with a yellow notice and explanations for SPF, DKIM and treatment of the selected row.
Select a row and the panel below explains its values in plain words.

The explanation panel

What does this mean? follows your selection. It explains SPF, DKIM, the treatment, the sender addresses and the hostname for that row, including the exact result (for example “DKIM failed”) and the domains that were checked. Further down, Your domain's policy explains the settings that were active when the report was written, and DNS records of the domain shows today's DMARC and SPF records. Use Refresh to look them up again.

What should I do?

What you seeWhat it usually meansWhat to do
Failed and rejected, IP is not yoursSomeone tried to send mail in your name. Your policy stopped it.Nothing. This is DMARC doing its job.
Failed, IP belongs to your own mail server or a service you useThat sender is not set up correctly.Add it to your SPF record and enable DKIM signing for it. Then watch the next reports.
SPF failed, DKIM passedOften forwarded mail, or a service that is not in your SPF record. DMARC still passes.Usually nothing. If it is your own service, add it to SPF.
DKIM never passesYour mail server does not sign outgoing mail.Set up DKIM. Without it, forwarded mail can fail DMARC.
Policy is noneYou only observe. Failing mail is still delivered.Once your own senders pass, move to quarantine, then reject.

Original XML

The original XML in an indented view with buttons to copy to the clipboard and save as an XML file.
The Original XML window.

Click Original XML … at the top of a report. The window shows the file as the receiver sent it.

  • Indented view lays out files that arrive on a single line. Switch it off to see the text unchanged.
  • Copy to clipboard copies the whole text as shown.
  • Save as XML file … writes the untouched original, even if the indented view is on.

Very long files are shown shortened to keep the window fast; the note says so, and copying and saving still use the whole file.

Language and appearance

The app is available in English, German and French and follows your system language. If your language is not available, it uses English. Light and dark mode follow your system as well.

To force a language, set the environment variable DMARC_LANG to en, de or fr before you start the app, for example:

DMARC_LANG=fr ./run.sh

Verdicts and explanations are written when you view a report, so a language change also applies to reports you imported earlier.

Your data

Reports, the database and the original XML files are stored on your computer only. Where depends on how you start the app:

StartData folder
macOS app~/Library/Application Support/DMARC Reports
Windows installer%APPDATA%\DMARC Reports
Linux package~/.local/share/dmarc-reports
Run from sourcethe folder data in the program folder

Inside, db holds the database and reports the original XML of every imported report.

  • Back up: quit the app and copy the whole data folder.
  • Delete one report: open it and click Delete report. It disappears from the history. Its original XML file stays in reports.
  • Start fresh: quit the app and delete the data folder.

Only one copy of the app can use a data folder at a time.

Build installers

Installers (.app, .exe, .deb) can only be built on the system they are for. The source package contains everything. You need a JDK 21 that includes jpackage. Maven is not needed; the package brings its own wrapper.

SystemCommandResult
macOS./packaging/package.shDMARC Reports.app and a zip. Add dmg for a disk image.
Windowspowershell -ExecutionPolicy Bypass -File packaging\package.ps1
(needs the WiX Toolset 3)
a .exe installer
Linux (Debian, Ubuntu)./packaging/package.sh
(needs fakeroot)
a .deb package

The results are written to target/dist/out/. If you keep the project on GitHub, the included workflow .github/workflows/package.yml builds all three on the right systems; start it from the Actions tab. The installers are not signed, so macOS and Windows show a warning the first time on another computer.

Troubleshooting

macOS says the app cannot be opened or is damaged
Control-click the app and choose Open. If it still refuses, open System Settings → Privacy & Security and click Open Anyway, or remove the download flag in Terminal:
xattr -dr com.apple.quarantine "/Applications/DMARC Reports.app"
“The program is already running”
Another copy uses the same data folder. Close it first. This also happens if you start the app twice.
The start script says Java was not found or is too old
Install a JDK 21 or newer and start the script again. Check with java -version.
The first start from source takes long or fails
It downloads libraries once and needs internet. Run it again when you are online.
A file was not imported
The message names the file and the reason. Typical causes: it is not a DMARC aggregate report (for example a forensic report), it is damaged, or it is larger than 100 MB unpacked.
Hostnames or DNS records say “unavailable”
The lookup did not work, for example without internet or because DNS is blocked. Click Refresh later. Results are remembered for seven days.
My numbers differ from the numbers in another tool
The app counts emails exactly as the receivers report them, per report period. Providers report on different days and times, so sums over a period can differ slightly.

Glossary

Aggregate report (RUA)
The daily XML summary a receiver sends about mail it saw from your domain. This is what the app reads.
DMARC
Your domain's rule for forged mail. It tells receivers what to do with mail that fails SPF and DKIM, and asks them to send you reports.
SPF
Checks whether the sending IP address is authorised for your domain. The authorisation is a DNS record of your domain.
DKIM
A digital signature the sending server adds to a message. The receiver checks it with a public key from your DNS and so sees if the message was changed.
Alignment
The domain checked by SPF or DKIM must match the From address the reader sees. Only then does the check count for DMARC. Relaxed allows subdomains, strict requires the same domain.
Policy (p) and subdomain policy (sp)
What receivers should do with mail that fails DMARC: none (deliver, only report), quarantine (usually the spam folder) or reject.
Percentage (pct)
The share of failing mail to which the policy is applied. At 100 it applies to all of it.
Treatment (disposition)
What the receiver actually did with the mail: delivered, quarantined or rejected.
Header From and envelope From
The header From is the address people see; DMARC protects it. The envelope From is the technical sender that mail servers exchange; SPF checks it.
Selector
Names the DKIM key that was used. It is published in DNS at selector._domainkey.your-domain.
Reverse DNS (PTR) and confirmation
The hostname registered for an IP address. If that hostname points back to the same IP address, the name is confirmed, which is typical for a genuine mail server.
Receiver (reporter)
The mail provider that created the report, for example Gmail or Outlook.com. It is called the receiver because it received the mail that it reports about.