From efd69f1c1c5e42f445db5a38f836d01545455054 Mon Sep 17 00:00:00 2001 From: andryyy Date: Sun, 11 Oct 2020 10:30:46 +0200 Subject: [PATCH] [Rspamd] Add Interserver rules, THANK YOU! --- data/conf/rspamd/local.d/rbl.conf | 20 ++++++++++++++++++++ data/conf/rspamd/local.d/rbl_group.conf | 8 ++++++++ 2 files changed, 28 insertions(+) diff --git a/data/conf/rspamd/local.d/rbl.conf b/data/conf/rspamd/local.d/rbl.conf index b208c15c..74e8b3b6 100644 --- a/data/conf/rspamd/local.d/rbl.conf +++ b/data/conf/rspamd/local.d/rbl.conf @@ -23,4 +23,24 @@ rbls { RBL_SORBS_ZOMBIE = "127.0.0.9"; } } + interserver_ip { + symbol = "RBL_INTERSERVER_IP"; + rbl = "rbl.interserver.net"; + returncodes { + RBL_INTERSERVER_BAD_IP = "127.0.0.2"; + } + } + interserver_uri { + symbol = "RBL_INTERSERVER_URI"; + rbl = "rbluri.interserver.net"; + ignore_defaults = true; + no_ip = true; + dkim = true; + emails = true; + emails_domainonly = true; + urls = true; + returncodes = { + RBL_INTERSERVER_BAD_URI = "127.0.0.2"; + } + } } diff --git a/data/conf/rspamd/local.d/rbl_group.conf b/data/conf/rspamd/local.d/rbl_group.conf index b2ec7959..4e3dce71 100644 --- a/data/conf/rspamd/local.d/rbl_group.conf +++ b/data/conf/rspamd/local.d/rbl_group.conf @@ -49,4 +49,12 @@ symbols = { weight = 0.0; description = "Received address is listed in ZEN XBL"; } + "RBL_INTERSERVER_BAD_URI" { + score = 4.0; + description = "Listed on Interserver RBL"; + } + "RBL_INTERSERVER_BAD_IP" { + score = 4.0; + description = "Listed on Interserver RBL"; + } }