On Sat, 24 Mar 2012, RW wrote:

On Sat, 24 Mar 2012 16:39:51 +0530
Swati Rananaware wrote:

Sorry for bothering you guys.
Found answer to my question:

body BODY_RULE_1 /[::blank::]/

That will hit any body with a space or tab in it.

It's going to be rather hard to check for a blank body, as the Subject header is treated as part of the body.

Perhaps (totally untested):

body   __NONSUBJ_BODY   /^(?!Subject:\s)/
meta   EMPTY_BODY   !__NONSUBJ_BODY

--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 jhar...@impsec.org    FALaholic #11174     pgpk -a jhar...@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  Homeland Security: Specializing in Tactical Band-aids for Strategic
  Problems.                       -- Eric K. in Bruce Schneier's blog
-----------------------------------------------------------------------
 471 days since the first successful private orbital launch (SpaceX)

Reply via email to