DOKK / manpages / debian 12 / dmarcts-report-parser / dmarcts-report-parser.8.en
DMARCTS-REPORT-PARSER(8) DMARC Report Parser DMARCTS-REPORT-PARSER(8)

dmarcts-report-parser - DMARC Report Parser

dmarcts-report-parser [OPTIONS] [PATH]

This script can be used to parse .xml files in DMARC reports sent by email providers and store the parsed information in an SQL database.

The .xml files are expected to be attachments of emails which the script can obtain from local folders, mbox files or IMAP account folders.

This script needs a configuration file called dmarcts-report-parser.conf in the /etc/ (or in the current working directory), which defines a database server with credentials and (if used) an IMAP server with credentials.

Additionally, one of the following command line options must be provided:

Read reports from messages on IMAP server as defined in the config file.
Read reports from mbox file(s) provided in PATH.
Read reports from MIME email file(s) provided in PATH.
Read reports from xml file(s) provided in PATH.

The following optional options are allowed:

Print debug info.
Replace existing reports rather than skipping them.
Delete processed message files (the XML is stored in the database for later reference).
Print out number of XML files or emails processed.

dmarcts-report-viewer

This man page has been written by Mike Gabriel <mike.gabriel@das-netzwerkteam.de> for the Debian project and it may be used by others.

February 2020 dmarcts-report-parser