summaryrefslogtreecommitdiffstats
path: root/conf/metrics.conf
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2016-07-18 10:02:42 +0300
committerAlexander Moisseev <moiseev@mezonplus.ru>2016-07-18 10:02:42 +0300
commitef8cc9a36cf129003609f183d5dcc262506c76c8 (patch)
tree20d21056ad0429cc50d588c3904130f91c598ed0 /conf/metrics.conf
parent455533058319a698b2e5fdc6a5557e8b1a929d81 (diff)
downloadrspamd-ef8cc9a36cf129003609f183d5dcc262506c76c8.tar.gz
rspamd-ef8cc9a36cf129003609f183d5dcc262506c76c8.zip
[Minor] Limit BAD_EXTENSION rules to one shot
Diffstat (limited to 'conf/metrics.conf')
-rw-r--r--conf/metrics.conf2
1 files changed, 2 insertions, 0 deletions
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" {