summaryrefslogtreecommitdiffstats
path: root/conf/modules.d
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-10-09 11:59:30 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-10-09 12:07:46 +0100
commit47e260127847f720b64535205251ea39f86ab514 (patch)
tree7ddbe9cc99a9b652c1bba78caa6973e2fdb31f15 /conf/modules.d
parentcda304d02322bd5d6329c79e6b430b655c3e417c (diff)
downloadrspamd-47e260127847f720b64535205251ea39f86ab514.tar.gz
rspamd-47e260127847f720b64535205251ea39f86ab514.zip
[Conf] Add dkim checks for some surbl rules
Diffstat (limited to 'conf/modules.d')
-rw-r--r--conf/modules.d/surbl.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/modules.d/surbl.conf b/conf/modules.d/surbl.conf
index 34fdf8ed2..6973e7bef 100644
--- a/conf/modules.d/surbl.conf
+++ b/conf/modules.d/surbl.conf
@@ -28,6 +28,7 @@ surbl {
rules {
"SURBL_MULTI" {
suffix = "multi.surbl.org";
+ check_dkim = true;
bits {
CRACKED_SURBL = 128; # From February 2016
ABUSE_SURBL = 64;
@@ -38,6 +39,7 @@ surbl {
}
"URIBL_MULTI" {
suffix = "multi.uribl.com";
+ check_dkim = true;
bits {
URIBL_BLOCKED = 1;
URIBL_BLACK = 2;
@@ -47,6 +49,7 @@ surbl {
}
"RSPAMD_URIBL" {
suffix = "uribl.rspamd.com";
+ check_dkim = true;
process_script =<<EOD
function(url, suffix)
local cr = require "rspamd_cryptobox_hash"
@@ -58,6 +61,7 @@ EOD;
"DBL" {
suffix = "dbl.spamhaus.org";
no_ip = true;
+ check_dkim = true;
ips = {
# spam domain