Re: [OT] More mail filter questions
hi ya corey
to de-mime your emails
http://www.Linux-Sec.net/Mail/mail.gwif.html#MIME
have fun
alvin
On Mon, 25 Feb 2002, Alan James wrote:
> On Mon, Feb 25, 2002 at 09:53:30AM -0600, Corey Halpin wrote:
> > Ok, it's become a mission now.
> > Before I leave .edu, I want to a) find a beer that I like, and b) have a set
> > of procmail filters such that I don't get any ugly stupid email.
> > I'd welcome pointers for both. :-)
> >
> > More to the point,
> > I'd like to know how to set up procmail filters that:
> > 1. detect MIME and will:
> > a. if it contains [text/html] and [text/plain] strip the [text/html]
> > b. if it contains only one part, strip the MIME, and set the content-type
> > accordingly.
> >
> > After that, I'm set.
> >
> > I've been digging around on google looking for hints as to how to do this
> > (it shouldn't be _that_ hard, should it?), but I can't find anything. So, I
> > ask here, because there are many many people in here smarter than me.
>
> a) Easy, Guinness and Stella :-)
>
> b) Not so easy. have you seen http://pm-doc.sourceforge.net ?
> specifically:
> http://pm-doc.sourceforge.net/pm-tips-body.html#getting_rid_of_unwanted_mime
>
> and Timo's recipes are always of use, although he seems to have left out your
> problem, but heres the link anyway: http://www.uwasa.fi/~ts/info/proctips.html
>
Reply to: