aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMikhail Galanin <mgalanin@mimecast.com>2018-09-10 11:00:41 +0100
committerMikhail Galanin <mgalanin@mimecast.com>2018-09-10 11:00:41 +0100
commit2a29cf229e81ec07ed348aa9bf10bb1eb8c6e467 (patch)
tree9df1dda09b1ead250725e7d2f22279a119c20ca5 /test
parent4b237a7e75be781128f7d99f27f6f03b0292e3f9 (diff)
downloadrspamd-2a29cf229e81ec07ed348aa9bf10bb1eb8c6e467.tar.gz
rspamd-2a29cf229e81ec07ed348aa9bf10bb1eb8c6e467.zip
[Test] More fake recors
to fix "SPF DNSFAIL FAILED A" and "SPF DNSFAIL FAILED MX" cases
Diffstat (limited to 'test')
-rw-r--r--test/functional/configs/plugins.conf25
1 files changed, 25 insertions, 0 deletions
diff --git a/test/functional/configs/plugins.conf b/test/functional/configs/plugins.conf
index 7109cfa80..8097893ac 100644
--- a/test/functional/configs/plugins.conf
+++ b/test/functional/configs/plugins.conf
@@ -433,9 +433,34 @@ options = {
rcode = 'timeout';
},
{
+ name = "www.dnssec-failed.org",
+ type = "mx";
+ rcode = 'timeout';
+ },
+ {
+ name = "www.dnssec-failed.org",
+ type = "a";
+ rcode = 'timeout';
+ },
+ {
+ name = "www.dnssec-failed.org",
+ type = "aaaa";
+ rcode = 'norec';
+ },
+ {
name = "cacophony.za.org",
type = "txt";
replies = ["v=spf1 redirect=asdfsfewewrredfs"];
+ },
+ {
+ name = "fail9.org.org.za",
+ type = "txt";
+ replies = ["v=spf1 ip4:8.8.8.8 mx:www.dnssec-failed.org -all"];
+ },
+ {
+ name = "fail8.org.org.za",
+ type = "txt";
+ replies = ["v=spf1 ip4:8.8.8.8 a:www.dnssec-failed.org -all"];
}];
}
}