__MIME_ATTACHMENT, I believe, requires a new feature not in 3.0.2 so you won't be able to simply drop in this rule. The problem is that without that rule, you'll match messages with an attachment but no other body text.

One option is to combine the empty message rule with a no To rule which should give you a pretty low FP rate. This is what the SARE rules do: http://www.rulesemporium.com/rules/70_sare_html.cf - search for SARE_HTML_NO_BODY. (Why are they under html?)


Stuart Johnston


Ingo Reinhart wrote:
Hi!

Ok, the ideea is great but dont' work for me.

# __MIME_ATTACHMENT defined in 20_html_tests.cf
body __NONEMPTY_BODY    /\S/
meta EMPTY_MESSAGE      !__MIME_ATTACHMENT && !__NONEMPTY_BODY
describe EMPTY_MESSAGE  Message appears to be empty with no Subject: text
score EMPTY_MESSAGE 2

Any hint's?

Ingo

----- Original Message ----- From: "Matt Kettler" <[EMAIL PROTECTED]>
To: "Ingo Reinhart" <[EMAIL PROTECTED]>; <users@spamassassin.apache.org>
Sent: Thursday, January 13, 2005 6:30 PM
Subject: Re: empty body


At 06:27 AM 1/13/2005, Ingo Reinhart wrote:

Hello!

How can I test for an empty Mailbody?

Any existing rule?

Best Regards,

Ingo


Grab the latest SVN image from the downloads page and look at EMPTY_MESSAGE.









Reply via email to