X-Git-Url: https://git.donarmstrong.com/?p=spamassassin_config.git;a=blobdiff_plain;f=common%2Fbts_specific;h=47656f63a462f437803ae0f201f3a910ed92d7ea;hp=a616c294fe7b806dd973b79d13df586c4eb166e3;hb=36cbf824a8ef7c5523e5e1aafc20b957b50db6d1;hpb=ae1e0bc72fd433be2419c13aa6b9aace1b9d3c08 diff --git a/common/bts_specific b/common/bts_specific index a616c29..47656f6 100644 --- a/common/bts_specific +++ b/common/bts_specific @@ -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 @@ -39,7 +39,7 @@ score INDEXMAINT -5 header SUBSCRIBEBUG To =~ /\b\d{3,7}\-(?:(?:un)?subscribe|subhelp|ignore|(?:sub(?:yes|approve|reject)|unsubyes|bounce|probe|approve|reject|setlistyes|setlistsilentyes).*)\@bugs\.debian\.org\b/ describe SUBSCRIBEBUG subscribing to bug tflags SUBSCRIBEBUG nice -score SUBSCRIBEBUG -1 +score SUBSCRIBEBUG -0.1 # blarson 2007-04-26 header SUBSCRIBE2 received =~ /\b for \d{3,7}\-(?:(?:un)?subscribe|subhelp|ignore|(?:sub(?:yes|approve|reject)|unsubyes|bounce|probe|approve|reject|setlistyes|setlistsilentyes).*)\@bugs\.debian\.org\b/ @@ -82,5 +82,45 @@ score INFOLOOP 7 # blarson 2007-11-17 header KOI8R Content-Type =~ /koi8-r/i -describe KOI8R korean content -score KOI8R 3 +describe KOI8R russian content +score KOI8R 4 + +# blarson 2007-09-07 +header SUBKOI8R subject =~ /koi8-r/i +describe SUBKOI8R russian subject +score SUBKOI8R 4 + +# 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 + +# blarson 2008-09-04 new spamassasin html rules broken +header HTMLCONT content-type =~ /text\/html/i +describe HTMLCONT html only +score HTMLCONT 3 + +# blarson 2008-09-04 +header MULTALT content-type =~ /multipart\/alternative/i +describe MULTALT multipart-alternative +score MULTALT 1 + +# blarson 2008-10-29 +header CREATETICK subject =~ /Unable to create Ticket/ +describe CREATETICK Unable to create Ticket +score CREATETICK 4 + +# blarson 2008-11-28 +body ONPHPDEV /onphp-dev-ru.lists.shadanakar.org/ +describe ONPHPDEV keeps spamming owner, spamassassin autolearns as ham? +score ONPHPDEV 3