Updated View as Markdown

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

Back to top