On 10/Mar/12 02:03, Sam Varshavchik wrote: > Alessandro Vesely writes: > >> reformime -X /usr/bin/funzip | xsltproc dmarc_report.xsl >> >> and 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.
makemime is able to consume multiple pipes at once. Are you planning to have reformime provide them? > 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. Yeah, that seems the most sensible thing to do at the time. Thank you for the tip. -- ------------------------------------------------------------------------------ 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