Skip to content

Commit

Permalink
also query resolved IPs against Spamhaus ZEN
Browse files Browse the repository at this point in the history
  • Loading branch information
heraklit256 committed Oct 29, 2018
1 parent 5f46179 commit b6d1cf0
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 6 deletions.
7 changes: 5 additions & 2 deletions conf/modules.d/surbl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,15 @@ EOD;
}
}

"SBL_URIBL" {
suffix = "sbl.spamhaus.org";
"SPAMHAUS_ZEN_URIBL" {
suffix = "zen.spamhaus.org";
resolve_ip = true;
ips {
URIBL_SBL = "127.0.0.2";
URIBL_SBL_CSS = "127.0.0.3";
URIBL_XBL = ["127.0.0.4", "127.0.0.5", "127.0.0.6", "127.0.0.7"];
URIBL_PBL = ["127.0.0.10", "127.0.0.11"];
URIBL_DROP = "127.0.0.9";
}
}

Expand Down
20 changes: 16 additions & 4 deletions conf/scores.d/surbl_group.conf
Original file line number Diff line number Diff line change
Expand Up @@ -146,17 +146,29 @@ symbols = {
description = "uribl.com grey url";
one_shot = true;
}
"SBL_URIBL" {
"SPAMHAUS_ZEN_URIBL" {
weight = 0.0;
description = "SBL URIBL: Filtered result";
description = "Spamhaus ZEN URIBL: Filtered result";
}
"URIBL_SBL" {
weight = 6.5;
description = "Spamhaus SBL URIBL";
description = "A domain listed in the mail is listed in Spamhaus SBL URIBL";
}
"URIBL_SBL_CSS" {
weight = 6.5;
description = "Spamhaus SBL CSS URIBL";
description = "A domain listed in the mail is listed in Spamhaus SBL CSS URIBL";
}
"URIBL_XBL" {
weight = 6.5;
description = "A domain listed in the mail is listed in Spamhaus XBL URIBL";
}
"URIBL_PBL" {
weight = 0.1;
description = "A domain listed in the mail is listed in Spamhaus PBL URIBL";
}
"URIBL_DROP" {
weight = 8.0;
description = "A domain listed in the mail is listed in Spamhaus DROP URIBL";
}
"RBL_SARBL_BAD" {
weight = 2.5;
Expand Down

0 comments on commit b6d1cf0

Please sign in to comment.