From: Don Armstrong <don@debian.org>
Date: Mon, 17 Mar 2008 21:17:11 +0000 (+0000)
Subject:  * Add subbodyrep rule to match words in subject repeated without spaces in body
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=fde808d3090d7c16793652d06ed84c600adc3ab7;p=spamassassin_config.git

 * Add subbodyrep rule to match words in subject repeated without spaces in body


git-svn-id: svn+ssh://svn.debian.org/svn/pkg-listmaster/trunk/spamassassin_config@169 0b7a5b0c-1f2c-0410-bd74-c376f8064c91
---

diff --git a/common/phrase_spam b/common/phrase_spam
index 6a64f68..a5c70f7 100644
--- a/common/phrase_spam
+++ b/common/phrase_spam
@@ -819,6 +819,11 @@ describe PZIP		p.zip
 score PZIP		3
 
 # blarson 2008-03-13
-header RETWO		subject =~ /RE\: [ab][a-z]{2,} [ab][a-z]{2,}\s*$/
+header RETWO		subject =~ /RE\:(?: [ab][a-z\']+){2,3}\s*$/
 describe RETWO		RE: bogus arbitrary
 score RETWO		2
+
+# don 2008-03-17
+header SUBBODYREP	subject =~ /Subject: (?:RE\:\s*)?([a-z]+)\s+([a-z]+)(?:\s+[a-z]+)\n.+\1\2/
+describe SUBBODYREP	Repeated word in subject and body without spaces
+score SUBBODYREP	3