You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Max Kipness <mk...@geniant.com> on 2004/05/24 03:02:45 UTC

Rule for blank body/subject?

Hi,
 
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?
 
Anybody know the purpose to these types of spam emails? Not a very good
marketing message.
 
Thanks,
Max



Re[2]: Rule for blank body/subject?

Posted by Robert Menschel <Ro...@Menschel.net>.
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




Re: Rule for blank body/subject?

Posted by Loren Wilton <lw...@earthlink.net>.
>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?

Sure, one right here:

#  1.141   1.4142   0.0000    1.000   0.98    3.00  LW_BLANK_MSG
header  __TO_HEADER_EXISTS  To =~ /./
body  __MSG_BODY_EXISTS   /./
meta  LW_BLANK_MSG  (! __TO_HEADER_EXISTS && ! __MSG_BODY_EXISTS)
score  LW_BLANK_MSG  1


>Anybody know the purpose to these types of spam emails? Not a very
>good marketing message.

Current belief is that there are spammer screwups where they misconfigure
the ratware.

        Loren