Deploy dmarc-analyzer.net
Template for dmarc-analyzer.net
Just deployed
/var/lib/postgresql/data
dmarc-analyzer-net/dmarc-analyzer:latest
Just deployed
Deploy and Host dmarc-analyzer.net on Railway
DMARC Analyzer is an open-source, self-hosted DMARC monitoring platform for agencies and IT teams managing email authentication across many client domains. It ingests the aggregate reports mailbox providers send under rua=, parses them, and shows who's sending as your domain, SPF/DKIM alignment, and enforcement progress — unlimited domains, no per-domain pricing.
About Hosting dmarc-analyzer.net
Hosting DMARC Analyzer means running two pieces: the application (API and worker, shipped as a single container image that can run both roles in one process or split them across services) and a PostgreSQL database. The worker polls an IMAP mailbox on a schedule, extracts and parses DMARC XML reports out of compressed attachments, and stores the results; the API serves the console and dashboards. Mailbox credentials are encrypted at rest with a key you provide. A single service plus a database is enough for most agencies — splitting the API and worker apart is optional and only needed at higher ingestion volume.
Common Use Cases
- Agencies monitoring DMARC/SPF/DKIM compliance across many client domains from one console
- IT and security teams moving a domain from monitor-only (
p=none) to enforcement (p=quarantine/p=reject) with visibility into what would break along the way - Self-hosters who want DMARC report data to stay on their own infrastructure instead of a third-party SaaS
Dependencies for dmarc-analyzer.net Hosting
- PostgreSQL database (provisioned automatically by this template)
- An IMAP mailbox that receives your domain's
rua=DMARC aggregate reports - A generated encryption key (
Security__CredentialEncryptionKey) to protect stored mailbox credentials
Deployment Dependencies
Implementation Details
The app reads its database connection from DATABASE_URL (a postgres:// URI — this template wires it to the Postgres plugin automatically) or ConnectionStrings__Default (Npgsql's ADO.NET format), whichever is set. APP_MODE=all runs the API and the ingestion worker in a single process, the simplest way to run this template. Database__MigrateOnStartup=true applies pending schema migrations automatically on boot.
Why Deploy dmarc-analyzer.net on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying dmarc-analyzer.net on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
dmarc-analyzer-net/dmarc-analyzer:latest
ghcr.io/dmarc-analyzer-net/dmarc-analyzer:latestSecurity__CredentialEncryptionKey
run: openssl rand -base64 32
