Hi Sam and all

What is the best method to transform a message, changing only some
headers while mangling its content, possibly without explicitly
creating temporary files?

Until now, for process-triggering messages, I've just run some command
via xfilter, appending any output after the original message content.
 That works with text/plain content.

Now I'm receiving the xml content that google sends for dmarc
reporting.  Actually, the content-type is application/zip, so I can
transform it like so:

  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?

-- 





































------------------------------------------------------------------------------
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

Reply via email to