public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Commit
[Rspamd] Add Interserver rules, THANK YOU!
efd69f1c
data/conf/rspamd/local.d/rbl.conf | 20 ++++++++++++++++++++
data/conf/rspamd/local.d/rbl_group.conf | 8 ++++++++
2 files changed, 28 insertions(+)
Diff
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";
+ }
}