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 2015/11/08 19:36:26 UTC

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

Author: jhardin
Date: Sun Nov  8 18:36:26 2015
New Revision: 1713279

URL: http://svn.apache.org/viewvc?rev=1713279&view=rev
Log:
score VERY_LONG_REPTO variants, more RECIP_IN_ENV_FROM exploration

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=1713279&r1=1713278&r2=1713279&view=diff
==============================================================================
--- spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf (original)
+++ spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf Sun Nov  8 18:36:26 2015
@@ -1983,16 +1983,27 @@ tflags    SPOOFED_FREEM_REPTO
 
 
 header    __VERY_LONG_REPTO             Reply-To =~ /[^\s\@]{20,}\@/
+
+meta      VERY_LONG_REPTO_SHORT_MSG     __VERY_LONG_REPTO && __HTML_LENGTH_0000_1024
+describe  VERY_LONG_REPTO_SHORT_MSG     Very long Reply-to username + short message
+score     VERY_LONG_REPTO_SHORT_MSG     3.000	# limit
+
+
+
 ifplugin Mail::SpamAssassin::Plugin::FreeMail
-  meta    __VERY_LONG_FREEM_REPTO       __VERY_LONG_REPTO && FREEMAIL_REPLYTO
+  meta      __VERY_LONG_FREEM_REPTO       __VERY_LONG_REPTO && FREEMAIL_REPLYTO
+  meta      VERY_LONG_FREEM_REPTO         __VERY_LONG_FREEM_REPTO
+  describe  VERY_LONG_FREEM_REPTO         Very long freemail Reply-to username
+  score     VERY_LONG_FREEM_REPTO         2.000	# limit
 endif
 
 #	for <st...@fastnet.co.uk>; Mon, 2 Nov 2015 14:27:08 GMT
 #        (envelope-from fastnet.co.uk.12056010.steve.stewart@vmta27.topreasonstovisit.com)
-header    __RECIP_IN_ENV_FM_01          Received =~ /for\s+<([^\@]+)\@([^>]+)>.*envelope-from\s+\2\.\d+\.\1\@/i
-meta      RECIP_IN_ENV_FROM		__RECIP_IN_ENV_FM_01
-describe  RECIP_IN_ENV_FROM		Recipient address (partial or complete) in envelope From address
-score     RECIP_IN_ENV_FROM		1.000	# limit
+#header    __RECIP_IN_ENV_FM_01          Received =~ /for\s+<([^\@]+)\@([^>]+)>.*envelope-from\s+\2\.\d+\.\1\@/i
+header    __RECIP_IN_ENV_FM_02          Received =~ /for\s+<([^\@]+)\@([^>]+)>.*envelope-from\s+[^@]*\2[^@]*\@/i
+#meta      RECIP_IN_ENV_FROM		__RECIP_IN_ENV_FM_01
+#describe  RECIP_IN_ENV_FROM		Recipient address (partial or complete) in envelope From address
+#score     RECIP_IN_ENV_FROM		1.000	# limit