diff options
author | Alexander Moisseev <moiseev@mezonplus.ru> | 2016-07-18 10:02:42 +0300 |
---|---|---|
committer | Alexander Moisseev <moiseev@mezonplus.ru> | 2016-07-18 10:02:42 +0300 |
commit | ef8cc9a36cf129003609f183d5dcc262506c76c8 (patch) | |
tree | 20d21056ad0429cc50d588c3904130f91c598ed0 /conf/metrics.conf | |
parent | 455533058319a698b2e5fdc6a5557e8b1a929d81 (diff) | |
download | rspamd-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.conf | 2 |
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" { |