From: Alexander Moisseev Date: Mon, 18 Jul 2016 07:02:42 +0000 (+0300) Subject: [Minor] Limit BAD_EXTENSION rules to one shot X-Git-Tag: 1.3.0~63^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F728%2Fhead;p=thirdparty%2Frspamd.git [Minor] Limit BAD_EXTENSION rules to one shot --- diff --git a/conf/metrics.conf b/conf/metrics.conf index ab2aa2de46..bc0198626e 100644 --- a/conf/metrics.conf +++ b/conf/metrics.conf @@ -1042,10 +1042,12 @@ metric { symbol "MIME_DOUBLE_BAD_EXTENSION" { weight = 3.0; # This rule has dynamic weight up to 4.0 description = "Bad extension cloaking"; + one_shot = true; } symbol "MIME_BAD_EXTENSION" { weight = 2.0; # This rule has dynamic weight up to 4.0 description = "Bad extension"; + one_shot = true; } } group "url" {