aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/configs
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-08-24 19:27:05 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-08-24 19:27:05 +0100
commit49852022963aba3dbce3591ac68fd2981b18710b (patch)
treead626dc0a1c83efd813900aa3261c406323bca47 /test/functional/configs
parent91443f3b8aba3abe7d0a5cef117c236a2aa8f4da (diff)
downloadrspamd-49852022963aba3dbce3591ac68fd2981b18710b.tar.gz
rspamd-49852022963aba3dbce3591ac68fd2981b18710b.zip
[Test] Moar surbl tests
Diffstat (limited to 'test/functional/configs')
-rw-r--r--test/functional/configs/plugins.conf16
-rw-r--r--test/functional/configs/surbl.conf12
2 files changed, 28 insertions, 0 deletions
diff --git a/test/functional/configs/plugins.conf b/test/functional/configs/plugins.conf
index 05ff16a1e..fdff71523 100644
--- a/test/functional/configs/plugins.conf
+++ b/test/functional/configs/plugins.conf
@@ -564,6 +564,22 @@ options = {
type = a;
replies = ["127.0.0.12"];
},
+ {
+ name = "example.ru";
+ type = a;
+ replies = ["8.8.8.8", "8.8.8.9"];
+ },
+ {
+ name = "8.8.8.8.test4.uribl";
+ type = a;
+ replies = ["127.0.0.4", "127.0.0.11"];
+ },
+ {
+ name = "9.8.8.8.test4.uribl";
+ type = a;
+ replies = ["127.0.0.3"];
+ },
+ # TODO: add IPv6 tests
];
}
}
diff --git a/test/functional/configs/surbl.conf b/test/functional/configs/surbl.conf
index 944ee747f..85074955c 100644
--- a/test/functional/configs/surbl.conf
+++ b/test/functional/configs/surbl.conf
@@ -38,5 +38,17 @@ EOD;
URIBL_RED = 8;
}
}
+ "SPAMHAUS_ZEN_URIBL" {
+ suffix = "test4.uribl";
+ resolve_ip = true;
+ check_emails = 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";
+ }
+ }
}
} \ No newline at end of file