From: Vsevolod Stakhov Date: Fri, 7 Jul 2017 18:40:15 +0000 (+0100) Subject: [Feature] Re-add rambler email bl (as hashed list) X-Git-Tag: 1.6.2~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e90a21c14984d2366d26748167a66cbee2572cbd;p=rspamd.git [Feature] Re-add rambler email bl (as hashed list) --- 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"