You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jh...@apache.org on 2014/03/27 23:33:23 UTC

svn commit: r1582520 - /spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf

Author: jhardin
Date: Thu Mar 27 22:33:22 2014
New Revision: 1582520

URL: http://svn.apache.org/r1582520
Log:
tweak STYLE_GIBBERISH and CANT_SEE_AD

Modified:
    spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf

Modified: spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf?rev=1582520&r1=1582519&r2=1582520&view=diff
==============================================================================
--- spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf (original)
+++ spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf Thu Mar 27 22:33:22 2014
@@ -503,11 +503,11 @@ endif
 
 body           __STYLE_TAG_IN_BODY      /<style(?:[^>]{0,30})?>/i
 body           __BODY_XHTML             /<x-html>/i
-rawbody        __STYLE_GIBBERISH_1      /<style[^>]{0,30}>(?:\s{0,80}[^\s:;<]){150}/im
+rawbody        __STYLE_GIBBERISH_1      /<style[^>]{0,30}>(?:\s{0,80}(?!<\/style>)[^\s:;]){150}/im
 rawbody        __STYLE_GIBBERISH_2      /\.style\w{0,20}\s{1,10}\{[^:;]{200}/im
 rawbody        __STYLE_GIBBERISH_3      /<style[^>]{0,30}>\s{0,30}(?:[\w:]{1,30}\s{0,10}\{[^}]{1,50}\}\s{0,80}){1,5}(?:[\w,.']{1,30}\s{1,10}){40}/im
 meta           __STYLE_GIBBERISH        (__STYLE_GIBBERISH_1 || __STYLE_GIBBERISH_2 || __STYLE_GIBBERISH_3)
-meta           STYLE_GIBBERISH          __STYLE_GIBBERISH && (__BODY_XHTML || !__STYLE_TAG_IN_BODY) && !__THREADED && !__RCD_RDNS_MAIL_MESSY && !__RCD_RDNS_DIAL_MESSY && !__HAS_REPLY_TO && !MIME_HTML_MOSTLY
+meta           STYLE_GIBBERISH          __STYLE_GIBBERISH && (__BODY_XHTML || !__STYLE_TAG_IN_BODY) && !__RCD_RDNS_MX_MESSY && !__HAS_THREAD_INDEX && !__ANY_OUTLOOK_MUA 
 describe       STYLE_GIBBERISH          Nonsense in HTML <STYLE> tag
 score          STYLE_GIBBERISH          4.00	# limit
 
@@ -1286,7 +1286,7 @@ score       UNSUB_OPT         2.000	# li
 
 header	    __NO_TRUSTED_RELAY	X-Spam-Relays-Trusted !~ /ip=/i
 
-body        CANT_SEE_AD       /\b(?:can(?:no|')?t|not able to) (?:view|read|see|scan|participate in) (?:our|this) (?:commercial |ad(?:vertisement)? ){1,2}(?:at all|(?:due to|because of) images)\b/i
+body        CANT_SEE_AD       /\b(?:can(?:no|')?t|not able to) (?:view|read|see|scan|witness|participate in) (?:our|this|the) (?:commercial |ad(?:vertisement)? ){1,2}(?:at all|below|(?:due to|because of) images)\b/i
 describe    CANT_SEE_AD       You really want to see our spam.
 score       CANT_SEE_AD       3.000	# limit