X-Git-Url: https://git.donarmstrong.com/?p=spamassassin_config.git;a=blobdiff_plain;f=common%2Fbts_specific;h=b15f3179d3f00dca3f6af4132d4ff52596c79f4c;hp=87e419921d6d5bd6642ee185dfe71a9644eb548f;hb=cefe8fb0127b3247f106bc8c88b086d99bfb7f28;hpb=652703901508da38854d07b3b53b6d231eff175f diff --git a/common/bts_specific b/common/bts_specific index 87e4199..b15f317 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,13 +39,19 @@ 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/ describe SUBSCRIBE2 subscribing to bug tflags SUBSCRIBE2 nice -score SUBSCRIBE2 -6 +score SUBSCRIBE2 -1 + +# blarson 2009-10-09 +header SUBSCRIBE3 received =~ /\(at \d{3,8}-(?:(?:un)?subscribe|subhelp|ignore|(?:sub(?:yes|approve|reject)|unsubyes|bounce|probe|approve|reject|setlistyes|setlistsilentyes).*)\)/ +describe SUBSCRIBE3 bug subscription +tflags SUBSCRIBE3 nice +score SUBSCRIBE3 -4 header FROMDEVELOPER From =~ /\@debian.org/i describe FROMDEVELOPER Appears to be a message from a developer @@ -80,3 +86,62 @@ header INFOLOOP subject =~ /Re: Bug\#\d+\: Info received \(Bug\#\d+: Info recei describe INFOLOOP Loopy autoresponder score INFOLOOP 7 +# blarson 2007-11-17 +header KOI8R Content-Type =~ /koi8-r/i +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 + +# blarson 2009-07-03 +header FELIX X-BeenThere =~ /felix-impl\@lists\.sourceforge\.net/ +describe FELIX felix list bounces +score FELIX 4 + +# blarson 2009-10-08 +body BUGADDR /^\d{3,8}\@bugs\.debian\.org$/i +describe BUGADDR bug address in line by itself +score BUGADDR 1 + +# blarson 2009-10-11 +header UNSUB subject =~ /unsubscribe/i +describe UNSUB unsubscribe +score UNSUB 2