summaryrefslogtreecommitdiffstats
path: root/conf/modules.d
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-05-14 14:00:49 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-05-14 14:00:49 +0100
commitf7817011cd0fa1d593ffae453f3802f51a1d977e (patch)
tree4ad794236f173e715f11616513033add453f4ca5 /conf/modules.d
parent5a870be97d168aa56710741e4db33a8db6d4eb26 (diff)
downloadrspamd-f7817011cd0fa1d593ffae453f3802f51a1d977e.tar.gz
rspamd-f7817011cd0fa1d593ffae453f3802f51a1d977e.zip
[Conf] Add MSBL proposed return codes
Diffstat (limited to 'conf/modules.d')
-rw-r--r--conf/modules.d/emails.conf14
1 files changed, 13 insertions, 1 deletions
diff --git a/conf/modules.d/emails.conf b/conf/modules.d/emails.conf
index accdd4d2d..74a67cf46 100644
--- a/conf/modules.d/emails.conf
+++ b/conf/modules.d/emails.conf
@@ -22,13 +22,25 @@ emails {
dnsbl = "email.rspamd.com";
check_replyto = true;
hash = "blake2";
+ returncodes = {
+ RSPAMD_EMAILBL = "127.0.0.2";
+ }
}
MSBL_EBL {
dnsbl = "ebl.msbl.org";
domain_only = false;
check_replyto = true;
hash = "sha1";
- expect_ip = "127.0.0.2";
+ returncodes = {
+ MSBL_EBL = [
+ "127.0.0.2",
+ "127.0.0.3"
+ ];
+ MSBL_EBL_GREY = [
+ "127.0.1.2",
+ "127.0.1.3"
+ ];
+ }
}
}
.include(try=true,priority=5) "${DBDIR}/dynamic/emails.conf"