From: Mikhail Galanin Date: Mon, 10 Sep 2018 10:00:41 +0000 (+0100) Subject: [Test] More fake recors X-Git-Tag: 1.8.0~154^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2a29cf229e81ec07ed348aa9bf10bb1eb8c6e467;p=rspamd.git [Test] More fake recors to fix "SPF DNSFAIL FAILED A" and "SPF DNSFAIL FAILED MX" cases --- 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 @@ -432,10 +432,35 @@ options = { type = "txt"; 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"]; }]; } }