aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-08-17 15:57:51 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-08-17 15:57:51 +0100
commitbd4ce0b8093c0b49c841ffdf43e72570dc70ca33 (patch)
treeb583fc60cf9febf36ee74deaee02c6517e163787 /conf
parent8632d14d4b43f2da3cfefdf76b211f4c3449a392 (diff)
downloadrspamd-bd4ce0b8093c0b49c841ffdf43e72570dc70ca33.tar.gz
rspamd-bd4ce0b8093c0b49c841ffdf43e72570dc70ca33.zip
Add configuration option `unknown_weight` for metrics.
If this option is specified, then all filters add symbols to this metric with the specified weight even if they are not specified in symbols list explicitly.
Diffstat (limited to 'conf')
-rw-r--r--conf/metrics.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/metrics.conf b/conf/metrics.conf
index 7a735f839..0d41ed96b 100644
--- a/conf/metrics.conf
+++ b/conf/metrics.conf
@@ -2,6 +2,10 @@
metric {
name = "default";
+ # If this param is set to non-zero
+ # then a metric would accept all symbols
+ # unknown_weight = 1.0
+
actions {
reject = 15;
add_header = 6;