[ILUG] Stripping html in mutt
kevin at suberic.net
Mon Sep 3 16:36:24 IST 2001
On Mon, Sep 03, 2001 at 04:22:57PM -0400, Ruairi Newman wrote:
> Been receiving many e-mails lately from people who use MS-Outlook and don't
> want to disable html in their settings for various reasons.
this is why i'd love an editor that would spew out troff. reply to
them with that editor and then say, "well it works on my system - what
version of groff are you running?" when they ask wtf i just sent them
> 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'd want to strip it before you see it? you might be able to use sed
or something. or i'm sure there are perl modules for playing with mime.
seems like it might accidentally nuke stuff you want though.
if you want to see it first, you can delete attachments in mail you've
received. hilite the mail, press v, hilite the attachment you want to
nuke, press d. more labor intensive, but possibly safer. you might
even be able to implement it as a macro - if the html is always in the
kevin at suberic.net simple four line sigs -
fork()'ed on 37058400 bandwidth friendly; nice to do.
meatspace place: home some admins clueless.
http://suberic.net/~kevin --netiquette haiku 2001
More information about the ILUG