---
title: "Deploy dmarc-analyzer.net"
description: "Template for dmarc-analyzer.net"
category: "Other"
url: https://railway.com/deploy/dmarc-analyzernet
---

# Deploy dmarc-analyzer.net

Template for dmarc-analyzer.net

**[Deploy dmarc-analyzer.net on Railway](https://railway.com/template/dmarc-analyzernet)**

- **Creator:** dmarc-analyzer.net
- **Category:** Other
- **Total deploys:** 1

## Template content

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:18

### dmarc-analyzer-net/dmarc-analyzer:latest

- **Image:** ghcr.io/dmarc-analyzer-net/dmarc-analyzer:latest
- **Health check:** /api/v1/auth/setup

## Documentation

# 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

- [DMARC Analyzer on GitHub](https://github.com/dmarc-analyzer-net/DmarcAnalyzerApp)
- [Documentation](https://dmarc-analyzer.net/docs)
- [Configuration reference](https://dmarc-analyzer.net/docs/configuration)

### 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.

## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — [Jul'26] Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — A Self-Hosted & Modern Roleplaying Platform
- [Letta Code Remote](https://railway.com/deploy/letta-code-remote) — Run a Letta Code agent 24/7. No inbound ports, just deploy.

Open this page in a browser: https://railway.com/deploy/dmarc-analyzernet
