]> git.donarmstrong.com Git - spamassassin_config.git/blobdiff - common/phrase_spam
* Add subbodyrep rule to match words in subject repeated without spaces in body
[spamassassin_config.git] / common / phrase_spam
index 6a64f68250af2ea013a0e90a310768db04643f77..a5c70f7033077059b8b872291e7e33fa5ce41492 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