skumm wrote:
> How and where do i modify the rules relating to html in the message body? 
> If it is there period i want marked as spam, so I want to change it's 
> weight to something like 10 if html exists in the message....

In the beginning, techies designed spamassassin for themselves and
HTML mail was a strong sign of a unix mail message being spam.  As SA
has evolved and been accepted by the population at large which uses
email, no longer unix mail only, HTML messages have lost ground as a
spam sign.  Aunt Edna uses AOL and Outlook and likes all of the pretty
colors.  So now the genetic algorithm which looks at everyone's spam
scores it very low and the SA developers are counting on the Bayes
engine to learn that for you in particular HTML is or is not spam.

Of course you can push things in one direction or another and the
following rules will probably do what you want to mark all HTML as
spam.  YMMV.

  header HTML_MESSAGE           Content-Type =~ /text\/html/i
  describe HTML_MESSAGE         HTML message
  score HTML_MESSAGE            5.0

  rawbody HTML_IN_BODY          /Content-Type:\s*text\/html/i
  describe HTML_IN_BODY         HTML in body of mail
  score HTML_IN_BODY            5.0

  score MIME_HTML_ONLY          5.0

Bob


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to