System Architecture
SentraDMARC is composed of three main microservices:
1. Ingestion Worker
A Python-based service running parsedmarc. It connects to IMAP inboxes, downloads DMARC XML reports, parses them, and normalizes the data into MongoDB.
2. Analysis Engine
An internal API layer that aggregates raw report data into time-series metrics. It handles:
- Volume tracking
- SPF/DKIM failure correlation
- Geo-location enrichment
3. Web Dashboard
A Next.js 15 application using tRPC for type-safe communication. It provides the UI for domain management, visualization, and user settings.