On Thu, Mar 09, 2006 at 01:26:27PM -0500, Daryl C. W. O'Shea wrote: > I've never tried using the MIMEHeader plugin and haven't looked at its > code, but I believe it'll allow you to implement your example, looking > for a GIF filename. It doesn't provide the entire MIME data in one > chunk but it does allow you to match against a MIME header.
Just for history sake, the reason we made a MIMEHeader plugin in the
first place (included in 3.1) was because it was asked for in bug 3781
by Loren. So I'm kind of surprised that it wasn't being used already.
> mimeheader SARE_GIF_ATTACH Content-Type =~ /name=\"[a-z]{3,18}\.gif\"/
Yeah. That would work. I put a very similar rule into my sandbox the
other day (3-5 character names are common in ham, fyi). :)
--
Randomly Generated Tagline:
Know what I like about Windows? Not a damn thing.
pgpVN5CBCfmBL.pgp
Description: PGP signature
