Self-hosted DMARC report aggregation
Find out who is sending email as you.
Mailbox providers send DMARC reports as XML attachments. DMARCo reads them and turns them into something you can actually read. On your own server.
bash -c "$(curl -fsSL https://raw.githubusercontent.com/dmarcoapp/dmarcoapp/main/install.sh)"
Prefer to read before you run? The script is on GitHub, and so is the manual route.
- Open source, Apache-2.0
- One Docker Compose stack
- x86-64 and ARM64
- No third party sees your reports
How it works
Only three steps.
- 1
Add a DMARC record
It tells mail providers where to send their reports about the domain.
- 2
Connect the mailbox
DMARCo picks the reports up from it on its own.
- 3
See who sends as you
Every server that sent mail in your name, and whether that mail passed SPF, DKIM, or DMARC.
What you get
A clear picture.
-
A dashboard with trends
Report volume, pass rates, and blocked threats, with the trend behind each one.
-
Who sends, and from where
Top senders, top offenders, reporting organizations, source countries, and IP addresses.
-
A page for every domain
The published DMARC record, a protection level, and DKIM and SPF alignment.
-
Every report, down to the XML
Browse reports with filtering and sorting, open the record details, and see the raw XML.
-
As many mailboxes as you like
Reports are read from every mailbox you add and processed in the background.
-
Email when it matters
An optional weekly overview and sign-in alerts, through the SMTP provider of your choice.
- A blocklist for reporters you do not care about
- Two-factor sign-in with any authenticator app
- Automatic deletion past the retention window
- Automatic HTTPS
Privacy
Your reports stay on your server.
DMARC reports list every server that sends mail as you. DMARCo runs on your own machine, and no third-party service receives your reports.
- One accountNobody else can sign up. Locked out? You get back in from the server, no email needed.
- Careful with your mailboxEncrypted connections only, the password is stored encrypted, and mail without a report is left alone.
- Lookups you can switch offDMARCo looks up who owns each sending IP address and where it is.
The road to p=reject
Watch first. Enforce once everything legitimate passes.
p=noneOnly asks for reports. The first numbers appear a day or two after the record goes live.
p=quarantineOnce you know every sender and the legitimate ones pass aligned SPF or DKIM, failing mail goes to spam.
p=rejectMail that fails is refused. The reports keep coming, so you still see who tries.
Install
One command, a couple of minutes.
The installer asks a few questions, checks that it can reach your mailbox, and sets up everything else, your account included.
What you need
- A Linux server with Docker and Docker Compose v2
- A small server is enough for a handful of domains
- A public IPv4 address with ports 80 and 443 open, or a Cloudflare Tunnel for a server at home
- A domain you can add DNS records to
- A mailbox for your reports, reachable over IMAP
Questions
Does DMARCo change how my mail is delivered?
No, DMARCo only reads the reports. What decides delivery is the policy in your DMARC record. With p=none, providers deliver your mail as before and only send reports. With p=quarantine or p=reject, mail that fails goes to spam or is refused. You choose when to make that move, in DNS, and the reports show you when it is safe.
Do I need an SMTP server?
No. Outgoing email only powers the optional weekly overview and sign-in alerts. Signing in, resetting a password, and two-factor authentication all work without it.
Can I run it at home?
Yes. Without a public IP address, put a Cloudflare Tunnel in front of it, or any proxy that already handles HTTPS. The install guide shows how to set it up.
Which mailbox should the reports go to?
A dedicated one, such as dmarc@example.com, keeps reports apart from other mail. It has to be reachable over IMAP and sit on a domain you can add DNS records to.
Can one mailbox collect reports for several domains?
Yes. Domains under the same registered domain need nothing extra. For any other domain, the mailbox's domain publishes a short _report._dmarc record that agrees to receive its reports. The install guide shows it.
What does it cost?
DMARCo is open source under the Apache-2.0 license. You run it on your own server, so the server is the only cost.
Something went wrong. Where do I report it?
Whatever goes wrong, whichever component it comes from, open an issue in the main repository. Security issues follow the security policy instead.
See who sends mail as you by the end of the week.
Install today, publish the record, and the first reports arrive within a day or two.