aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-01-03 18:37:10 +0200
committerAndrew Lewis <nerf@judo.za.org>2016-01-03 18:37:10 +0200
commita5f0cf7c88fd4b678899bcc927a64d6bf2c1cbbe (patch)
tree92817266a320874d3a6a2bfa346f3ed14e4efcfe
parentb3c3972a16c6c81bd755af6b898c535478a0a223 (diff)
downloadrspamd-a5f0cf7c88fd4b678899bcc927a64d6bf2c1cbbe.tar.gz
rspamd-a5f0cf7c88fd4b678899bcc927a64d6bf2c1cbbe.zip
Add URIBL_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 0940721bb..386e83e6a 100644
--- a/conf/metrics.conf
+++ b/conf/metrics.conf
@@ -940,6 +940,11 @@ metric {
name = "URIBL_MULTI";
}
symbol {
+ weight = 0.0;
+ description = "uribl.com: query refused";
+ name = "URIBL_BLOCKED";
+ }
+ symbol {
weight = 7.5;
description = "uribl.com black url";
name = "URIBL_BLACK";
diff --git a/conf/modules.d/surbl.conf b/conf/modules.d/surbl.conf
index ed233ea9e..69e500d0a 100644
--- a/conf/modules.d/surbl.conf
+++ b/conf/modules.d/surbl.conf
@@ -19,6 +19,7 @@ surbl {
suffix = "multi.uribl.com";
symbol = "URIBL_MULTI";
bits {
+ URIBL_BLOCKED = 1;
URIBL_BLACK = 2;
URIBL_GREY = 4;
URIBL_RED = 8;