Browse Source

[Conf] Add MSBL proposed return codes

tags/1.7.5
Vsevolod Stakhov 6 years ago
parent
commit
f7817011cd
2 changed files with 19 additions and 1 deletions
  1. 13
    1
      conf/modules.d/emails.conf
  2. 6
    0
      conf/scores.d/surbl_group.conf

+ 13
- 1
conf/modules.d/emails.conf View File

@@ -22,13 +22,25 @@ emails {
dnsbl = "email.rspamd.com";
check_replyto = true;
hash = "blake2";
returncodes = {
RSPAMD_EMAILBL = "127.0.0.2";
}
}
MSBL_EBL {
dnsbl = "ebl.msbl.org";
domain_only = false;
check_replyto = true;
hash = "sha1";
expect_ip = "127.0.0.2";
returncodes = {
MSBL_EBL = [
"127.0.0.2",
"127.0.0.3"
];
MSBL_EBL_GREY = [
"127.0.1.2",
"127.0.1.3"
];
}
}
}
.include(try=true,priority=5) "${DBDIR}/dynamic/emails.conf"

+ 6
- 0
conf/scores.d/surbl_group.conf View File

@@ -57,6 +57,12 @@ symbols = {
one_shot = true;
}

"MSBL_EBL_GREY" {
weight = 0.5; # TODO: test it
description = "MSBL emailbl grey list";
one_shot = true;
}

"SEM_URIBL_UNKNOWN" {
weight = 0.0;
description = "Spameatingmonkey uribl: unknown result";

Loading…
Cancel
Save