aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-03 16:39:16 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-03 16:39:16 +0000
commit863b59fc5168d48d4ec0800c7ad218c79f95754a (patch)
tree92817266a320874d3a6a2bfa346f3ed14e4efcfe
parentb3c3972a16c6c81bd755af6b898c535478a0a223 (diff)
parenta5f0cf7c88fd4b678899bcc927a64d6bf2c1cbbe (diff)
downloadrspamd-863b59fc5168d48d4ec0800c7ad218c79f95754a.tar.gz
rspamd-863b59fc5168d48d4ec0800c7ad218c79f95754a.zip
Merge pull request #470 from fatalbanana/uribl
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;