[ILUG] Stripping html in mutt
Ruairí Newman
bofh at tech-mad.org
Mon Sep 3 16:43:18 IST 2001
Dave O Connor [03/09/01 16:30 +0100]:
> Ruairi Newman said on Mon, Sep 03, 2001 at 04:22:57PM -0400:
> > For archival purposes I want to strip the html part from all incoming mails
> > and am wondering if anyone has a regexp they're already using for this
> > purpose that I can put put into a procmail rule to assist? Otherwise I'll
> > cobble something together myself.
> >
> You could put in a mailcap entry to read all those HTML mails in lynx.
>
> Add the following to ~/.mailcap :
>
> text/html; lynx -force_html %s
>
Thanks Dave,
Not quite what I'm looking for. The problem with Outlook mails is that they
incorporate both html AND plaintext versions. The problem isn't with reading
the mails, but due to the amount of mail I receive, stripping the useless html
part of these multipart mails will result in substantially smaller mail
archives.
Regards,
Ruairi
--
A flight attendant's comment on a less than perfect landing:
"We ask you to please remain seated as Captain Kangaroo bounces
us to the terminal".
--Anonymous
More information about the ILUG
mailing list