Alessandro Vesely writes:
reformime -X /usr/bin/funzip | xsltproc dmarc_report.xsland get text/html (which is more readable.) Thus, it might be enough to suitably pipe the above through makemime. But how do I keep the existing header? Changing some header fields looks like a job for reformail, but that seems to be going to be phased out and doesn't interoperate with makemime. Is that correct?
Some stuff from reformail was moved into mailbot, but the rest of reformail isn't going anywhere.
makemime creates new content, while reformail munges top level mail headers.I don't think you can avoid using temporary files. You could use an intermediate Perl script that saves its standard input into a real temporary file that's unlinked from the start, so there are no cleanup issues to worry about. Then, it would run a few things and attach the temporary file's descriptor to standard input, to compose the transformed message.
pgp80cBn5hGac.pgp
Description: PGP signature
------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users