techsneeze/dmarcts-report-parser

Failed to ungzip ZIP file

Hativ opened this issue · 1 comments

Hativ commented

We're having problems with the reports from mimecast.org. We get the following error with each of these:

dmarcts-report-parser.pl: Subject: Report domain: example.com Submitter: mimecast.org Report-ID: 28213b0e4d44a24cf85205f04060ccfd85c27705dc2a84320a869e6fa5abc123 : at dmarcreport.example.com/dmarcts-report-parser.pl line 676. 
dmarcts-report-parser.pl: Failed to ungzip ZIP file (temp. location: </tmp/msg-3613033-1.dat>)!
dmarcts-report-parser.pl: The IMAP message with UID #49611 does not seem to contain a valid DMARC report. Skipped.

Other reports with zip file work.

I can unpack the zip file from mimecast.org without any problems. It contains an XML file, which can successfully be parsed by https://us.dmarcian.com/xml-to-human-converter/.

If desired, I can forward a real uncensored sample email as attachment.

Duplicate of #117