From 32059ed6a7cbb9379ec0068b14f1e16f5097dbda Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 19 Jul 2017 08:41:23 +0100 Subject: [PATCH] [Feature] Add EBL to the default config --- conf/metrics.conf | 6 ++++++ conf/modules.d/emails.conf | 8 ++++++++ 2 files changed, 14 insertions(+) diff --git a/conf/metrics.conf b/conf/metrics.conf index d51433bb2..d2b348743 100644 --- a/conf/metrics.conf +++ b/conf/metrics.conf @@ -309,6 +309,12 @@ metric { one_shot = true; } + symbol "MSBL_EBL" { + weight = 7.5; + description = "MSBL emailbl"; + one_shot = true; + } + symbol "SEM_URIBL_UNKNOWN" { weight = 0.0; description = "Spameatingmonkey uribl: unknown result"; diff --git a/conf/modules.d/emails.conf b/conf/modules.d/emails.conf index eb1c69230..8a458e6a2 100644 --- a/conf/modules.d/emails.conf +++ b/conf/modules.d/emails.conf @@ -20,8 +20,16 @@ emails { encoding = "base32"; hashlen = 32; dnsbl = "email.rspamd.com"; + check_replyto = true; hash = "blake2"; } + MSBL_EBL { + dnsbl = "ebl.msbl.org"; + domain_only = false; + check_replyto = true; + hash = "sha1"; + expect_ip = "127.0.0.2"; + } } .include(try=true,priority=5) "${DBDIR}/dynamic/emails.conf" .include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/emails.conf" -- 2.39.5