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: https://source.dussan.org/?a=commitdiff_plain;h=ef8cc9a36cf129003609f183d5dcc262506c76c8;p=rspamd.git [Minor] Limit BAD_EXTENSION rules to one shot --- diff --git a/conf/metrics.conf b/conf/metrics.conf index ab2aa2de4..bc0198626 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" {