瀏覽代碼

[Feature] Add EBL to the default config

tags/1.6.3
Vsevolod Stakhov 7 年之前
父節點
當前提交
5f817f1404
共有 2 個檔案被更改,包括 14 行新增0 行删除
  1. 6
    0
      conf/metrics.conf
  2. 8
    0
      conf/modules.d/emails.conf

+ 6
- 0
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";

+ 8
- 0
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"

Loading…
取消
儲存