From e90a21c14984d2366d26748167a66cbee2572cbd Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 7 Jul 2017 19:40:15 +0100 Subject: [PATCH] [Feature] Re-add rambler email bl (as hashed list) --- conf/metrics.conf | 8 +++++++- conf/modules.d/emails.conf | 9 +++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/conf/metrics.conf b/conf/metrics.conf index 2bdb651b6..431693399 100644 --- a/conf/metrics.conf +++ b/conf/metrics.conf @@ -300,7 +300,13 @@ metric { } symbol "RAMBLER_URIBL" { weight = 4.5; - description = "rambler.ru uribl"; + description = "Rambler uribl"; + one_shot = true; + } + + symbol "RAMBLER_EMAILBL" { + weight = 9.5; + description = "Rambler emailbl"; one_shot = true; } diff --git a/conf/modules.d/emails.conf b/conf/modules.d/emails.conf index 315643241..0bbf4356e 100644 --- a/conf/modules.d/emails.conf +++ b/conf/modules.d/emails.conf @@ -14,6 +14,15 @@ # See https://rspamd.com/doc/tutorials/writing_rules.html for details emails { + rules + RAMBLER_EMAILBL { + delimiter = "."; + encoding = "base32"; + hashlen = 32; + dnsbl = "email.rspamd.com"; + hash = "blake2"; + } + } .include(try=true,priority=5) "${DBDIR}/dynamic/emails.conf" .include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/emails.conf" .include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/emails.conf" -- 2.39.5