aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authoreneq123 <you@example.com>2014-05-07 15:43:43 +0400
committereneq123 <you@example.com>2014-05-07 15:43:43 +0400
commit6ec0f7ee2a708df13863c938c1918a62c6f3ebb0 (patch)
tree2b9f4f6b683868babf2583b866009a04e995002b /conf
parentb864da214b9ca8da5c83e1e3ddf88227920ea5b5 (diff)
downloadrspamd-6ec0f7ee2a708df13863c938c1918a62c6f3ebb0.tar.gz
rspamd-6ec0f7ee2a708df13863c938c1918a62c6f3ebb0.zip
DNSWL support (via RBL) added
Diffstat (limited to 'conf')
-rw-r--r--conf/metrics.conf6
-rw-r--r--conf/modules.conf18
2 files changed, 22 insertions, 2 deletions
diff --git a/conf/metrics.conf b/conf/metrics.conf
index 088d6aaca..520f05a74 100644
--- a/conf/metrics.conf
+++ b/conf/metrics.conf
@@ -322,6 +322,12 @@ metric {
description = "One received header with 'bad' patterns inside";
name = "ONCE_RECEIVED_STRICT";
}
+
+ symbol { name = "RCVD_IN_DNSWL"; weight = 0.0; description = "Sender listed at http://www.dnswl.org"; }
+ symbol { name = "RCVD_IN_DNSWL_LOW"; weight = -0.1; description = "Sender listed at http://www.dnswl.org, low trust"; }
+ symbol { name = "RCVD_IN_DNSWL_MED"; weight = -1.0; description = "Sender listed at http://www.dnswl.org, medium trust"; }
+ symbol { name = "RCVD_IN_DNSWL_HI"; weight = -5.0; description = "Sender listed at http://www.dnswl.org, high trust"; }
+
symbol { name = "RBL_SPAMHAUS"; weight = 0.0; description = "From address is listed in zen"; }
symbol { name = "RBL_SPAMHAUS_SBL"; weight = 2.0; description = "From address is listed in zen sbl"; }
symbol { name = "RBL_SPAMHAUS_CSS"; weight = 2.0; description = "From address is listed in zen css"; }
diff --git a/conf/modules.conf b/conf/modules.conf
index 4ad8fc88c..0640def55 100644
--- a/conf/modules.conf
+++ b/conf/modules.conf
@@ -83,8 +83,7 @@ surbl {
}
}
rbl {
-
- rbls {
+ rbls {
spamhaus {
symbol = "RBL_SPAMHAUS";
@@ -145,6 +144,21 @@ rbl {
RBL_SEM = "127.0.0.2";
}
}
+
+ dnswl {
+ symbol = "RCVD_IN_DNSWL";
+ rbl = "list.dnswl.org";
+ ipv4 = true;
+ ipv6 = false;
+ received = false;
+ unknown = true;
+ returncodes {
+ RCVD_IN_DNSWL_LOW = "127.0.*.1";
+ RCVD_IN_DNSWL_MED = "127.0.*.2";
+ RCVD_IN_DNSWL_HI = "127.0.*.3";
+ }
+ }
+
}
}