userjack6880 / Open-Report-Parser

A Perl based tool to parse DMARC reports from an IMAP mailbox or from the filesystem, and insert the information into a database. Derived from Techsneeze's dmarcts-report-parser
GNU General Public License v3.0
34 stars 10 forks source link

[Bug]: missing JSON in @INC #31

Open ZeGuigui opened 7 months ago

ZeGuigui commented 7 months ago

Describe the bug When running report-parser.pl on a debian 12 base image I got an error with missing JSON in @INC

To Reproduce Steps to reproduce the behavior:

  1. create a docker container from php:8.3-apache (debian 12 based) and copy open-report-parser with dependencies listed in the README.md
  2. add a configuration file and run report-parser.pl -i --info

Expected behavior No error message and report-parser able to parse emails

Software Version [X] Version 0 Alpha 5 [] Version 0 Alpha 4 [] Version 0 Alpha 3 [] Version 0 Alpha 2

Server (please complete the following information):

Additional context

You can fix the problem adding libjson-perl in the dependencies! You only need to patch README.md

ZeGuigui commented 7 months ago

Please see my dockerfile for open-report-parser and open-dmarc-analyzer for a reference docker file (I intend to publish the image to docker hub but still need to improve it a bit I think)