aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf/metrics.conf8
-rw-r--r--conf/modules.d/emails.conf9
2 files changed, 16 insertions, 1 deletions
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"