aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2015-12-31 14:24:41 +0200
committerAndrew Lewis <nerf@judo.za.org>2015-12-31 14:24:41 +0200
commit84f0c82c1c095842c4d1bf01ae2cf3ec6460f7f4 (patch)
tree9aec0f27f54b13b4423d179eed876fb135364f6c
parent9074b2eb2691d895a8703c28b2e74cebd238f7dc (diff)
downloadrspamd-84f0c82c1c095842c4d1bf01ae2cf3ec6460f7f4.tar.gz
rspamd-84f0c82c1c095842c4d1bf01ae2cf3ec6460f7f4.zip
Add SURBL_BLOCKED symbol
-rw-r--r--conf/metrics.conf5
-rw-r--r--conf/modules.d/surbl.conf1
2 files changed, 6 insertions, 0 deletions
diff --git a/conf/metrics.conf b/conf/metrics.conf
index 13abc41e6..e2c2b3d06 100644
--- a/conf/metrics.conf
+++ b/conf/metrics.conf
@@ -822,6 +822,11 @@ metric {
group {
name = "surbl";
symbol {
+ weight = 0.0;
+ description = "SURBL: blocked by policy/overusage";
+ name = "SURBL_BLOCKED";
+ }
+ symbol {
weight = 5.5;
description = "SURBL: Phishing sites";
name = "PH_SURBL_MULTI";
diff --git a/conf/modules.d/surbl.conf b/conf/modules.d/surbl.conf
index 9d40ffe54..5549a997a 100644
--- a/conf/modules.d/surbl.conf
+++ b/conf/modules.d/surbl.conf
@@ -11,6 +11,7 @@ surbl {
MW_SURBL_MULTI = 16;
PH_SURBL_MULTI = 8;
WS_SURBL_MULTI = 4;
+ SURBL_BLOCKED = 1;
}
}
rule {