* make .com in scour optional
[spamassassin_config.git] / common / bts_specific
index 4a65f52..bcdd145 100644 (file)
@@ -24,7 +24,7 @@ tflags HAS_BUG_NUMBER         nice
 score HAS_BUG_NUMBER           -3.0
 
 # blarson 2007-07-05
-rawbody VALID_BTS_CONTROL      /^(reassign\s+\d{3,6}\s+[a-z\d-]+\s*|(reopen|submitter|owner)\s+\d{3,6}\s|forward\s+\d{3,6}\s+|(notforwarded|unmerge|noowner)\s+\d{3,6}\s*$|retitle\s+\d{3,6}\s+.{10,80}$|severity\s+\d{3,6}\s+(critical|grave|serious|important|normal|minor|wishlist)|clone\s+\d{3,6}\s+-\d$|merge(\s+\d{3,6}){2,4}\s*$|tags?\s+\d{3,6}\s+([\-\+\=]?\s*[a-z]+\s*)*|(not)?found\s+.+$)/i
+rawbody VALID_BTS_CONTROL      /^(reassign\s+\d{3,6}\s+[a-z\d-]+\s*|(reopen|submitter|owner)\s+\d{3,6}\s|forward\s+\d{3,6}\s+|(notforwarded|unmerge|noowner)\s+\d{3,6}\s*$|retitle\s+\d{3,6}\s+.{10,80}$|severity\s+\d{3,6}\s+(critical|grave|serious|important|normal|minor|wishlist)|clone\s+\d{3,6}\s+-\d$|merge(\s+\d{3,6}){2,4}\s*$|tags?\s+\d{3,6}\s+([\-\+\=]?\s*[a-z]+\s*)*|(not)?found\s+\d+\s+\S+\s*$)/i
 describe VALID_BTS_CONTROL     Seems to be valid BTS control command
 tflags VALID_BTS_CONTROL       nice
 score VALID_BTS_CONTROL                -2
@@ -87,3 +87,16 @@ score KOI8R          3
 
 # blarson 2007-12-10
 score ONEWORD          3
+
+# blarson 2008-04-03
+header CLOSE           subject =~ /^\s*(?:closed?|done|Closing)\s*$/i
+describe CLOSE         closing bug
+tflags CLOSE           nice
+score CLOSE            -2
+
+# blarson 2008-06-97
+body VERSION           /^version\:\s+\S+\s*$/i
+describe VERSION       version number specified in body
+tflags VERSION         nice
+score VERSION          -1
+