Robert Menschel <[EMAIL PROTECTED]> wrote:

> # RM rules to identify a completely empty HTML email
> header   RM_hc_HTML      Content-Type =~ /text\/html/
> describe RM_hc_HTML      Email is text/html format
> score    RM_hc_HTML      0.001

That seems to be pretty similar to the existing MIME_HTML_ONLY 
rule.

> rawbody  RM_rb_TITLE     /<title>/i
> describe RM_rb_TITLE     Testing for HTML title in emails
> score    RM_rb_TITLE     0.001

That and the other tag tests are better done with the 
html_tag_exists() eval test (see HTML_TAG_EXISTS_BASE, for 
example).  Your version doesn't match if there are attributes 
(which happens quite often on BODY).

-- 
Keith C. Ivey <[EMAIL PROTECTED]>
Washington, DC



-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to