Hello Andrea,

Thanks for the inspiration.

Tuesday, December 2, 2003, 4:23:24 AM, you wrote:

AR> Hi folks,

AR> How could I filter spam with no content?
AR> I've at the moment emails apparently without sender, without recips, without
AR> subject or body.

No sender?  Given that information, I created two rules:

header    RM_hx_from  exists:From
describe  RM_hx_from  From header found
score     RM_hx_from  0.001
meta      RM_hn_from  !RM_hx_from
describe  RM_hn_from  From header not found
score     RM_hn_from  1.00

The first rule tests for the existence of a FROM header. Score minimal
(could be a non-scoring __RM_hx_from rule for that matter).

The second rule then reverses that test, checking for the lack of a FROM
header. (There may be a better way to do this -- anyone?) Results:

RM_hx_from -- 45925s/16069h of 63136 corpus
RM_hn_from -- 1136s /    0h of 63136 corpus

I think we have a winnah!

Chris -- consider this another submission for the Emporium.

Bob Menschel




-------------------------------------------------------
This SF.net email is sponsored by OSDN's Audience Survey.
Help shape OSDN's sites and tell us what you think. Take this
five minute survey and you could win a $250 Gift Certificate.
http://www.wrgsurveys.com/2003/osdntech03.php?site=8
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to