* Add subbodyrep rule to match words in subject repeated without spaces in body
authorDon Armstrong <don@debian.org>
Mon, 17 Mar 2008 21:17:11 +0000 (21:17 +0000)
committerDon Armstrong <don@debian.org>
Mon, 17 Mar 2008 21:17:11 +0000 (21:17 +0000)
git-svn-id: svn+ssh://svn.debian.org/svn/pkg-listmaster/trunk/spamassassin_config@169 0b7a5b0c-1f2c-0410-bd74-c376f8064c91

common/phrase_spam

index 6a64f68..a5c70f7 100644 (file)
@@ -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