From 5f817f1404944dc130ff0f30635e6ac0c276f98d 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 431693399..9c0f53d75 100644 --- a/conf/metrics.conf +++ b/conf/metrics.conf @@ -310,6 +310,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