summaryrefslogtreecommitdiffstats
path: root/test/functional/configs/plugins.conf
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-12-15 20:18:55 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-12-15 20:18:55 +0000
commit7048dc0475ca9e689fe38c9688774b33c1c9ecee (patch)
tree2c9474a620a928ad128e19e61ae933e6dadf7e09 /test/functional/configs/plugins.conf
parentf0325fc58b093d49dbfbed07332a31d2e8332c6e (diff)
downloadrspamd-7048dc0475ca9e689fe38c9688774b33c1c9ecee.tar.gz
rspamd-7048dc0475ca9e689fe38c9688774b33c1c9ecee.zip
[Test] Rbl: Add some tests for RBL module
Diffstat (limited to 'test/functional/configs/plugins.conf')
-rw-r--r--test/functional/configs/plugins.conf33
1 files changed, 32 insertions, 1 deletions
diff --git a/test/functional/configs/plugins.conf b/test/functional/configs/plugins.conf
index b34f66208..c881e972e 100644
--- a/test/functional/configs/plugins.conf
+++ b/test/functional/configs/plugins.conf
@@ -481,7 +481,38 @@ options = {
name = "fail8.org.org.za",
type = "txt";
replies = ["v=spf1 ip4:8.8.8.8 a:www.dnssec-failed.org -all"];
- }];
+ },
+ {
+ name = "1.2.3.4.fake.rbl";
+ type = "a";
+ replies = ["127.0.0.2"];
+ },
+ {
+ name = "2.2.3.4.fake.rbl";
+ type = "a";
+ replies = ["127.0.0.10"];
+ },
+ {
+ name = "3.2.3.4.fake.rbl";
+ type = "a";
+ replies = ["127.0.0.2", "127.0.0.3"];
+ },
+ {
+ name = "4.3.2.1.fake.rbl";
+ type = "a";
+ rcode = 'nxdomain';
+ },
+ {
+ name = "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.fake.rbl";
+ type = "a";
+ replies = ["127.0.0.2"];
+ },
+ {
+ name = "131.193.18.151.fake.rbl";
+ type = "a";
+ replies = ["127.0.0.3"];
+ }
+ ];
}
}
logging = {