tierpod / dmarc-report-converter

Convert dmarc reports from xml to human-readable formats
MIT License
241 stars 25 forks source link

Ignore eml files when processing extracted reports #54

Closed moorereason closed 7 months ago

moorereason commented 7 months ago

Given input.delete = no

After eml files are processed and attachments have been extracted, the convert/parse phase attempts to reprocess the eml files as reports and logs an error:

[ERROR] files: mimetype text/plain; charset=utf-8 not supported in file dmarc_files/foo.eml, skip

We should ignore the eml files in this phase.

I plan to submit a PR shortly to resolve this issue.