On 8/7/2006 12:25 AM, Theo Van Dinter wrote: > On Mon, Aug 07, 2006 at 12:07:58AM -0400, Eric A. Hall wrote: >> Anybody written a rule that tests for empty text/plain, preferably only >> when a non-empty text/html or some other media-type is provided? > > Sounds very similar to MPART_ALT_DIFF.
That might be useful as a pre-test filter, such as looking to see if MPART_ALT_DIFF fired before doing anything else. From there I can grep to see if text/plain has any printable characters. What's the most efficient way to grab the text/plain part? -- Eric A. Hall http://www.ehsco.com/ Internet Core Protocols http://www.oreilly.com/catalog/coreprot/