Bug 3469 - Proposed new rule: HTML comments
Summary: Proposed new rule: HTML comments
Status: RESOLVED WONTFIX
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Rules (show other bugs)
Version: unspecified
Hardware: All All
: P5 enhancement
Target Milestone: 3.1.0
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
: 3468 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-06-04 05:09 UTC by Pasi Hirvonen
Modified: 2004-07-18 11:56 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Pasi Hirvonen 2004-06-04 05:09:25 UTC
A rule that would allow you to raise the score in case SpamAssassin finds HTML
comments from the body of the message would be most certainly useful. Why? Often
spammers include the list of random words (to fool the spam filtering) in HTML
comments to prevent it from being displayed in HTML mailreaders.

header HTML_COMMENTS           ALL =~ /<!--.*-->/
describe HTML_COMMENTS         Message contains HTML comments

Or similar might work. Multi-line comments would have to be noted.
Comment 1 Malte S. Stretz 2004-06-04 05:39:21 UTC
*** Bug 3468 has been marked as a duplicate of this bug. ***
Comment 2 Daniel Quinlan 2004-07-18 19:56:57 UTC
Generally speaking, HTML comments are not a spam sign.  Closing as WONTFIX.