DMARCTS-REPORT-PARSER(8)

πŸ’– dmarcts-report-parser β€” DMARC Report Parser πŸ’–

okay bestie, welcome to dmarcts-report-parser, section 8 of the manual (the big-girl sysadmin section, iykyk). this is the lil script that eats DMARC reports and files them away all neat and tidy. let's go πŸ¦‹


✨ SYNOPSIS ✨

dmarcts-report-parser [OPTIONS] [PATH]

🌸 DESCRIPTION 🌸

so like, this script parses .xml files inside DMARC reports that email providers send you, and then it stores all that parsed info in an SQL database. that's the whole vibe. πŸŽ€

the .xml files are expected to be attachments of emails, and the script can grab those emails from local folders, mbox files, or IMAP account folders. so many options, we love a flexible queen πŸ‘‘

also, real talk, this script needs a configuration file called dmarcts-report-parser.conf, and it looks for it in /etc/ (or in the current working directory). that file defines a database server plus credentials, and β€” if you're using it β€” an IMAP server plus credentials. no config, no party. periodt. πŸ’…


πŸ”₯ OPTIONS πŸ”₯

okay so one of these following options MUST be provided. not optional, bestie, pick one:

  • -i β€” read reports from messages on the IMAP server, as defined in the config file. πŸ“¬
  • -m β€” read reports from mbox file(s) provided in PATH. πŸ“¦
  • -e β€” read reports from MIME email file(s) provided in PATH. πŸ“§
  • -x β€” read reports from xml file(s) provided in PATH. πŸ“„

and then these optional cuties are allowed on top of that:

  • -d β€” print debug info. πŸ›
  • -r β€” replace existing reports rather than skipping them. πŸ”
  • --delete β€” delete processed message files (the XML is stored in the database for later reference). πŸ—‘οΈ
  • --info β€” print out the number of XML files or emails processed. πŸ“Š

πŸ‘€ SEE ALSO πŸ‘€

  • dmarcts-report-viewer

πŸ‘‘ AUTHOR πŸ‘‘

this man page was written by Mike Gabriel <mike.gabriel@das-netzwerkteam.de> for the Debian project, and it may be used by others. ty king 🫢


and that's the whole page, bestie!! πŸ’– this one is dmarcts-report-parser, from February 2020, and it lives at the top of the page as DMARCTS-REPORT-PARSER(8). go parse something iconic, mwah πŸ’…βœ¨πŸŒˆ

πŸ“¦ where this page comes from