{"id":51897417,"url":"https://github.com/adminsyspro/dmarcontrol","last_synced_at":"2026-07-26T12:01:27.173Z","repository":{"id":368885216,"uuid":"1286068012","full_name":"adminsyspro/dmarcontrol","owner":"adminsyspro","description":"Self-hosted DMARC aggregate report viewer for teams that want local storage, fast inspection, and a small operational footprint.","archived":false,"fork":false,"pushed_at":"2026-07-02T15:48:27.000Z","size":523,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-07-02T17:33:38.017Z","etag":null,"topics":["anti-spam","dkim","dmarc","spf"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adminsyspro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-07-01T12:12:54.000Z","updated_at":"2026-07-02T15:48:33.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/adminsyspro/dmarcontrol","commit_stats":null,"previous_names":["adminsyspro/dmarcontrol"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/adminsyspro/dmarcontrol","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adminsyspro%2Fdmarcontrol","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adminsyspro%2Fdmarcontrol/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adminsyspro%2Fdmarcontrol/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adminsyspro%2Fdmarcontrol/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adminsyspro","download_url":"https://codeload.github.com/adminsyspro/dmarcontrol/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adminsyspro%2Fdmarcontrol/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35913015,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-26T02:00:06.503Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anti-spam","dkim","dmarc","spf"],"created_at":"2026-07-26T12:01:26.448Z","updated_at":"2026-07-26T12:01:27.156Z","avatar_url":"https://github.com/adminsyspro.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"static/brand/dmarcontrol-logo-dark.svg\" alt=\"Dmarcontrol\" width=\"360\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  Self-hosted DMARC aggregate report viewer for teams that want local storage, fast inspection, and a small operational footprint.\n\u003c/p\u003e\n\n![Dmarcontrol dashboard score distribution](docs/assets/dashboard-score-distribution.png)\n\n---\n\n## Overview\n\nDmarcontrol imports DMARC aggregate XML reports, normalizes them into SQLite, and serves a single embedded web dashboard from a Rust binary. It is designed for operators who need to understand DMARC alignment, identify sending sources, and move domains safely from monitoring toward enforcement.\n\nUse it as:\n\n- A day-to-day dashboard for DMARC aggregate report review.\n- A local archive for `.xml`, `.xml.gz`, and `.zip` DMARC reports.\n- A remediation workspace for SPF/DKIM alignment issues.\n- A lightweight mailbox importer for DMARC report attachments.\n\n---\n\n## Quick Start\n\n### Docker\n\n```bash\ndocker run -d \\\n  --name dmarcontrol \\\n  -p 8080:8080 \\\n  -v dmarcontrol-data:/app/data \\\n  --restart unless-stopped \\\n  ghcr.io/adminsyspro/dmarcontrol:latest\n```\n\nThen open `http://your-server:8080`.\n\nDefault local username is `admin`. If `DMARCONTROL_ADMIN_PASSWORD` is not set before the first start, the first local admin password defaults to `admin`.\n\nIf Docker reports `error from registry: unauthorized` when pulling from `ghcr.io/adminsyspro/dmarcontrol`, make the GitHub Container Registry package public in the package settings. The Docker workflow publishes the `latest` tag from the default branch.\n\n### Docker Compose\n\n```bash\ncp .env.example .env\n$EDITOR .env\ndocker compose up -d\n```\n\nThe provided `docker-compose.yml` persists application data in the `dmarcontrol-data` volume.\n\n### From source\n\n```bash\ncargo run -- --addr 127.0.0.1:8080\n```\n\nOpen `http://localhost:8080`.\n\n---\n\n## Features\n\n| Feature | Description |\n| --- | --- |\n| DMARC import | Import `.xml`, `.xml.gz`, `.gz`, `.zip`, files, and directories |\n| Web upload | Upload aggregate reports directly from the dashboard |\n| Mailbox sync | Pull DMARC report attachments from IMAP, manually or on a schedule |\n| Compliance trend | View message volume and aligned traffic over 24h, 7d, 30d, or 1y |\n| Global search | Search domains, sender emails, source IPs, reports, and remediation evidence |\n| Domain intelligence | Inspect policy strength, alignment rate, sources, and recent reports per domain |\n| Source analysis | Rank sending IPs by message volume, alignment, rejection, and risk |\n| Remediation queue | Get prioritized action items before tightening DMARC policy |\n| Geo enrichment | Enrich source IPs with country, continent, ASN, and map points using IP66 MMDB |\n| CSV export | Export report evidence as CSV |\n| Authentication | Local admin login plus optional OIDC single sign-on |\n| Embedded UI | No frontend build pipeline or external runtime once compiled |\n| Local storage | SQLite only; no database server required |\n| Dark mode | Full light/dark interface |\n\n## IP Geolocation\n\nDmarcontrol enriches source IPs with the free IP66 MMDB database. The Docker image includes `ip66.mmdb` out of the box, so no extra installation step is required for container deployments.\n\n---\n\n## Reverse Proxy\n\nExample Nginx vhost:\n\n```nginx\nserver {\n    listen 443 ssl;\n    server_name dmarcontrol.example.com;\n\n    ssl_certificate     /etc/letsencrypt/live/dmarcontrol.example.com/fullchain.pem;\n    ssl_certificate_key /etc/letsencrypt/live/dmarcontrol.example.com/privkey.pem;\n\n    location / {\n        proxy_pass http://127.0.0.1:8080;\n        proxy_set_header Host $host;\n        proxy_set_header X-Real-IP $remote_addr;\n        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n        proxy_set_header X-Forwarded-Proto $scheme;\n    }\n}\n```\n\nWhen serving over HTTPS, set:\n\n```bash\nDMARCONTROL_FORCE_HTTPS=true\nDMARCONTROL_PUBLIC_BASE_URL=https://dmarcontrol.example.com\n```\n\n## Requirements\n\n- Docker and Docker Compose for container deployments.\n- Rust stable toolchain with `cargo` for source builds.\n- Optional IMAP mailbox dedicated to DMARC aggregate reports.\n\n---\n\n## License\n\nMIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadminsyspro%2Fdmarcontrol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadminsyspro%2Fdmarcontrol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadminsyspro%2Fdmarcontrol/lists"}