DMARC XSLT
Transform DMARC reports into HTML
[Back to stylesheet]

A tentative Perl extractor

The task is to get the XML file from the attachment, transform it to HTML, and then re-attach the original message. The extractor sets up two temporary files and two pipelines, invoking reformime, xsltproc, makemime, and a custom C program which execs funzip or zcat. Goofy, uh?


zero rights

Zip of gzip?

The compression was initially done using zip. Later on, when application/gzip was standardized, DMARC specified gzip instead. Now, if you're good at Perl, you could fix the above Perl script. Otherwise, copy, paste, and compile the following C file:


zero rights