]> git.donarmstrong.com Git - spamassassin_config.git/commitdiff
* add onewordbody and onewordall meta rule
authorDon Armstrong <don@debian.org>
Mon, 3 Oct 2011 18:18:03 +0000 (18:18 +0000)
committerDon Armstrong <don@debian.org>
Mon, 3 Oct 2011 18:18:03 +0000 (18:18 +0000)
git-svn-id: svn+ssh://svn.debian.org/svn/pkg-listmaster/trunk/spamassassin_config@378 0b7a5b0c-1f2c-0410-bd74-c376f8064c91

common/phrase_spam

index 07be77f6c637074cdff85a0e3e6bc58fbe9fb9c8..cffe96c5014cdffa193fe9b7a318ded624dd8c93 100644 (file)
@@ -90,6 +90,14 @@ header ONEWORD               subject =~ /^(?:Fw:|re:)?\s*\S+\s*$/i
 describe ONEWORD       one word subject
 score ONEWORD          2
 
 describe ONEWORD       one word subject
 score ONEWORD          2
 
+body ONEWORDBODY       /^\s*\S+\s*$/s
+describe ONEWORDBODY   One word body
+score ONEWORDBODY      2
+
+meta  ONEWORDALL       (ONEWORD && ONEWORDBODY)
+describe ONEWORDALL    Both subject and body contain one word
+score ONEWORDALL       4
+
 # robot101, 2003-09-22
 header CROSSWALK       X-UnityUser =~ /^Crosswalk.com, Inc/
 describe CROSSWALK     Crosswalk bible mailing list
 # robot101, 2003-09-22
 header CROSSWALK       X-UnityUser =~ /^Crosswalk.com, Inc/
 describe CROSSWALK     Crosswalk bible mailing list