Strip HTML
Dennis Davis
D.H.Davis at bath.ac.uk
Fri Jun 2 09:35:52 EDT 2006
On Thu, 1 Jun 2006, Ken Murchison wrote:
> From: Ken Murchison <murch at andrew.cmu.edu>
> To: Shaun Bolling <sbolling at t-l.com>
> Cc: info-cyrus at lists.andrew.cmu.edu
> Date: Thu, 01 Jun 2006 16:05:47 -0400
> Subject: Re: Strip HTML
>
> Shaun Bolling wrote:
> > Hello All, can Sieve strip the html from an email and if not
> > whats the best way to go about this?
>
> There is no Sieve extension that I know of that strips HTML.
This could be done as part of the process of delivering mail to Cyrus
by using a program such as altermime:
http://www.pldaniels.com/altermime/
Exactly how you'd do this would depend on the MTA (sendmail,
postfix, exim etc) you're using. For exim I'd probably consider a
transport filter.
Disclaimer: I've never actually tried to do this...
--
Dennis Davis, BUCS, University of Bath, Bath, BA2 7AY, UK
D.H.Davis at bath.ac.uk Phone: +44 1225 386101
More information about the Info-cyrus
mailing list