msimerson / mail-dmarc

Mail::DMARC, a complete DMARC implementation in Perl
Other
33 stars 23 forks source link

Support attachments as input directly #242

Open richlv opened 1 month ago

richlv commented 1 month ago

Is your feature request related to a problem? Please describe. Would be great to run dmarc_receive against attachments (gz, zip compressed or uncompressed XML). This would be helpful in debugging/testing scenarios.

Describe the solution you'd like dmarc_receive --attachment or similar that could detect gz/zip and uncompress, or handle XML directly.

Describe alternatives you've considered Take the attachment and create a fake email message to contain it.