diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-07-19 08:41:23 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-07-19 08:41:23 +0100 |
commit | 32059ed6a7cbb9379ec0068b14f1e16f5097dbda (patch) | |
tree | 7e2e81deeb525726d2b0ed1a0d50f972f798244d | |
parent | 801abed417cf39fc3d2f31162eb2649ed8ee049e (diff) | |
download | rspamd-32059ed6a7cbb9379ec0068b14f1e16f5097dbda.tar.gz rspamd-32059ed6a7cbb9379ec0068b14f1e16f5097dbda.zip |
[Feature] Add EBL to the default config
-rw-r--r-- | conf/metrics.conf | 6 | ||||
-rw-r--r-- | conf/modules.d/emails.conf | 8 |
2 files changed, 14 insertions, 0 deletions
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" |