Hello Max,

Sunday, May 23, 2004, 7:54:03 PM, Loren responded to your question:

>>I seem to get quite a few messages with a blank body/subject and they
>>usually only score with Bayes, but that's not enough for my threshold.
>>Anybody got a rule for this? Or how would I make one?  

LW> Sure, one right here:
LW> #  1.141   1.4142   0.0000    1.000   0.98    3.00  LW_BLANK_MSG
LW> header  __TO_HEADER_EXISTS  To =~ /./
LW> body  __MSG_BODY_EXISTS   /./
LW> meta  LW_BLANK_MSG  (! __TO_HEADER_EXISTS && ! __MSG_BODY_EXISTS)
LW> score  LW_BLANK_MSG  1

Loren's rule has been incorporated as
meta      SARE_HTML_NO_BODY_TO     ( !__SARE_HTML_HAS_MSG && 
!__SARE_HTML_HAS_TO )
describe  SARE_HTML_NO_BODY_TO     Message is empty and has no To destination
score     SARE_HTML_NO_BODY_TO     1.666
#counts   SARE_HTML_NO_BODY_TO     942s/0h of 89684 corpus (67687s/21997h RM) 
05/23/04
#counts   SARE_HTML_NO_BODY_TO     0s/2h of 6944 corpus (3188s/3756h CT) 
05/19/04
#AddsTo   SARE_HTML_NO_BODY_TO     SARE_HTML_NO_BODY in the 70_sare_html1.cf 
file
in the new 70_sare_html?.cf files (need 70_sare_html0.cf and
70_sare_html1.cf to use this specific functionality).

More information at http://www.rulesemporium.com/rules.htm#html

Bob Menschel



Reply via email to