X-Git-Url: https://git.donarmstrong.com/?p=spamassassin_config.git;a=blobdiff_plain;f=common%2Fbts_specific;h=b15f3179d3f00dca3f6af4132d4ff52596c79f4c;hp=4a65f5224f2ed38c79ab64080b63e7bee0837bb1;hb=d6e9cadda6ebc0595e16f8691ecebf12fc825d0f;hpb=1ddf5e5e1ba5bcc7a68d16258bfad38d630a77c1 diff --git a/common/bts_specific b/common/bts_specific index 4a65f52..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 @@ -45,7 +45,13 @@ score SUBSCRIBEBUG -0.1 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 @@ -82,8 +88,60 @@ 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 + +# 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