Drillmark
Drillmark is a self-hosted system that consumes DMARC aggregate (RUA) and SMTP TLS (TLS-RPT) reports from one or more mailboxes, stores them in Postgres, and renders analytics in a Dioxus web UI. It is aimed at MSPs who monitor DMARC posture across many client domains from one dashboard.
What it does
- Polls IMAP mailboxes on a schedule, extracts and parses DMARC and TLS-RPT attachments.
- Stores parsed records in Postgres alongside the raw report blob for later inspection.
- Enriches source IPs with country / region / city data from an IP2Location LITE database when one is configured.
- Detects seven alert conditions (high auth failure rate, volume spike, policy downgrade, new unauthorized sender, DKIM signing change, blocked country traffic, DMARC policy violation) and emails the configured admin.
- Serves analytics through a REST API, with a Dioxus frontend that groups traffic by tenant, domain, sender, country, and time range.
Who it is for
- MSPs or IT teams who already own an inbox that receives DMARC reports (typically a
dmarc@address at a managed domain) and want to turn those reports into something they can act on. - Operators comfortable running a Postgres + Rust API + Caddy front-end stack behind their own reverse proxy.
- Deployments that can federate identity to a Bunyip / mokosh-server hub. Drillmark has no local login; sign-in happens at the Bunyip OIDC provider.
When NOT to use it
- You want a hosted service with no infrastructure to operate. Drillmark is self-hosted only today.
- You cannot stand up Bunyip (or an existing mokosh-server OP). The API refuses to boot without the five
OIDC_*env vars set. - You need message-level forensic (RUF) reports. Drillmark processes aggregate RUA and TLS-RPT only.
Where to start
- Getting started: bring the stack up and point it at a mailbox.
- Installation: ground-up install with reverse proxy, DNS, and Bunyip registration.
- Configuration: every env var grouped by subsystem.
- Data sources: how one data source maps to one mailbox, and the folder layout a mailbox needs.
- Tenancy: tenants, organizations, roles, and the identity path.
- API: REST endpoints the frontend and third parties call.
- Features: guided tour of the SPA screens.
- Operations: backups, retention, logs, upgrades, data-source rotation.
- Integrations: Bunyip, mokosh-server, IMAP, SMTP, geolocation.
- Troubleshooting: the common failures and their fix.
In this section
- AlertsDrillmark evaluates the configured rules per tenant on every alerts-generation run (part of the scheduled job set). Detected conditions are written to…
- APIDrillmark exposes a REST API on ${API_PUBLIC_URL} (port 8080 inside the container). The frontend is the primary consumer; third-party integrations go through…
- ArchitectureDrillmark is three Docker services plus an external OIDC provider.
- ConfigurationEvery runtime value is read from the environment. .env.example is the authoritative list; the groups below mirror it.
- Data sourcesA data source is one mailbox Drillmark polls. One data source maps to one IMAP (or JMAP) account; multiple sources pull from independent inboxes in parallel.
- Features
- Getting startedBring Drillmark up with Docker Compose, point it at one DMARC mailbox, and see the first parsed report in the dashboard.
- InstallationThis page covers a ground-up install, including the reverse-proxy and DNS pieces that Getting started assumes are already in place. If you are standing…
- IntegrationsDrillmark depends on a handful of external services. Each is opt-in except Bunyip, which is required.
- Operations
- Processing pipelineFour scheduled jobs run against every tenant and every enabled data source. They run independently; a failure in one does not block the next. Execution order…
- TenancyDrillmark groups monitored domains, data sources, and users by tenant. A tenant usually represents one MSP customer: one organization whose domains the MSP…
- TroubleshootingFive common failures and their fix. For anything else, start with container logs (docker compose logs --follow api) and the Jobs screen in Settings.