DMARC Analyzer and reporter using IMAP connection
Go to file
László Károlyi 60fec85afd
Fix XML parsing error when the XML is invalid
2023-05-05 15:58:59 +02:00
.gitignore Fix XML parsing error when the XML is invalid 2023-05-05 15:58:59 +02:00
README.md Add README.md 2021-11-16 14:12:39 +01:00
analyze.py Fix XML parsing error when the XML is invalid 2023-05-05 15:58:59 +02:00
collect-and-report.sh Add runner script for cron 2022-08-08 19:38:44 +02:00
requirements.txt Fix XML parsing error when the XML is invalid 2023-05-05 15:58:59 +02:00

README.md

DMARC Reports analyzer using IMAP connection

Installation:

  • Create a virtualenv
  • Install packages from requirements.txt (python -m pip install -r requirements.txt)
  • Create a configuration: python analyze.py -c <CONFIG_PATH> --recreate
  • Adjust the initial values in your <CONFIG_PATH>
  • Initialize the sqlite3 db: python analyze.py -c <CONFIG_PATH> --init-db

Usage:

After you've set up the configuration, run the utility with only the config file parameter -c <CONFIG_PATH> to collect the results into the sqlite db. If you want to load the collected reports and send them in a summarized email, use the --report option.

Command line help

python analyze.py -h