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: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F2475%2Fhead;p=thirdparty%2Frspamd.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 7109cfa80e..8097893ac6 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"]; }]; } }