http://www.hughes-family.org/bugzilla/show_bug.cgi?id=126

           Summary: Suggested rules for embedded HTML objects
           Product: Spamassassin
           Version: 2.20CVS
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Rules
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


First, there was some discussion of the use of <iframe> tags on the list but 
the current RELAYING_FRAME rule only covers <frame> and only specific cases of 
that. Here's the rule I'm using to catch all <frame> and <iframe> use:

rawbody HTML_FRAMES                     /<i?frame /i
describe HTML_FRAMES                    HTML with an embedded frame
score HTML_FRAMES                       3.0

Second, two items I see in more and more spam are the <EMBED> and <OBJECT> 
tags, used to embed MIDI music, ActiveX controls, Flash ads, or videos. I think 
rules for these two would be pretty safe as they're rarely used (and rarely 
appropriate) in regular mail:

rawbody HTML_EMBEDS                     /<(?:object|embed) /i
describe HTML_EMBEDS                    HTML with an embedded plug-in object
score HTML_EMBEDS                       3.0

In both of these cases I included a space in the regex so that things like 
<embed> won't match - I write JavaScript books and often correspond with others 
about HTML tags like this, but if the space is there it's probably an actual 
HTML tag.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to