A single-binary CLI that takes a DMARC aggregate report (file path or URL) and prints a structured summary table. Shows domain, DKIM/SPF alignment results, disposition, source IPs, and volume counts. Handles gzip-compressed reports automatically. Essential for anyone running DMARC who needs quick insight without a dashboard.
SecurityEmailDMARCCLI
Features
- Parses DMARC aggregate report XML (RFC 7489) from file or URL
- Automatic gzip decompression for compressed reports
- Tabular output with domain, DKIM/SPF alignment, disposition, source IPs
- Handles multiple record types (full, forensic, rua/ruf)
Flags
| Long | Short | Description |
|---|---|---|
| --version | -V | Show version and license |
| --file | -f | Path to DMARC aggregate report XML file |
Usage
terminal
$ dmarc-inspector --file report.xml.gz
$
$ dmarc-inspector https://example.com/report.xml.gz
Dependencies
stdlib only — encoding/xml, net/http, compress/gzip
Install
$ curl -LO https://labs.stech-sol.com/downloads/dmarc-inspector/0.1.0/dmarc-inspector_linux_amd64
$ chmod +x dmarc-inspector_linux_amd64
$ sudo mv dmarc-inspector_linux_amd64 /usr/local/bin/dmarc-inspector
About
Downloads
Verify integrity
SHA256 checksums