You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by fa...@apache.org on 2007/05/23 15:38:21 UTC

svn commit: r540952 - /spamassassin/rules/trunk/sandbox/fanf/30_text.cf

Author: fanf
Date: Wed May 23 06:38:20 2007
New Revision: 540952

URL: http://svn.apache.org/viewvc?view=rev&rev=540952
Log:
A lot of image spam seems to link to the image using an alt text of [],
which is fairly distinctive in both the text/plain and text/html parts.
The HTML seems to be more amenable to being matched by a rule...

Modified:
    spamassassin/rules/trunk/sandbox/fanf/30_text.cf

Modified: spamassassin/rules/trunk/sandbox/fanf/30_text.cf
URL: http://svn.apache.org/viewvc/spamassassin/rules/trunk/sandbox/fanf/30_text.cf?view=diff&rev=540952&r1=540951&r2=540952
==============================================================================
--- spamassassin/rules/trunk/sandbox/fanf/30_text.cf (original)
+++ spamassassin/rules/trunk/sandbox/fanf/30_text.cf Wed May 23 06:38:20 2007
@@ -3,3 +3,5 @@
 body SHORT_TERM_PRICE /short\W+term\W+(target|projected)(\W+price)?/i
 body LONG_TERM_PRICE  /long\W+term\W+(target|projected)(\W+price)?/i
 meta STOCK_PRICES (SHORT_TERM_PRICE && LONG_TERM_PRICE)
+
+fullbody IMG_ALT_BRACKETS /^<img src="cid:7\.1\.0\.9\.[^"]+\.0" width=\d+ height=\d+ alt="[[][]]">/