From: Ruairķ Newman (bofh at domain tech-mad.org)
Date: Mon 03 Sep 2001 - 16:51:32 IST
kevin lyda [03/09/01 16:35 +0100]:
> 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
Should be possible using vi as your mutt editor... you can set the
commandline with which to call it from within your .muttrc... hmm... might
try that myself ;)
> > 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.
Thats exactly what I want to do. Am working on something with sed at the
moment but it has a nasty habit of sometimes nuking the plaintext part of the
mail instead. I don't know perl well enough to use it and unfortunately
don't have the time to learn it these days. As for nuking stuff I want...
that happens from time to time anyway... I use an aggressive spamfilter.
> 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
> same position.
I wasn't actually aware you could delte attachments in that manner if you can
believe that ;) but it'll be handy for the moment as a stopgap til I manage
to get a reliable automated alternative running, thanks,
-- 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
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:11:57 GMT