On 05/19/2010 10:30 PM, Alex wrote:
Hi,

You can use smtp_header_checks and smtp_body_checks with the REPLACE action
to make minor changes to mail content during delivery.  These are rather
simple tools by design, best suited for easily defined transformations.
Thanks for the notes. If I were to do it the right way, how would I go about it?

Is it possible to strip the entire HTML content and pass only the
text? Perhaps the right way to say it would be to pass only the MIME
text and strip everything else?

Thanks again,
Alex

I found this fantastic little util called "mailtextbody" - it does just that: strips off all non-text parts and leaves a clean, text-only message.
Really, content processing should be left to non-MTA programs.

Reply via email to