diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2019-12-28 17:44:28 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2019-12-28 17:47:44 +0000 |
commit | b17ea87dd9582c2fb0e637c246211fb5328065be (patch) | |
tree | 5825ccadfedff5eb0702c9f6a62d050543998f3b | |
parent | 1c519e07b908a314ce7bdfceb6baa9e18e302dfc (diff) |
Testsuite: SPF testcase additions
-rw-r--r-- | test/dnszones-src/db.example.com | 4 | ||||
-rw-r--r-- | test/scripts/4600-SPF/4601 | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/test/dnszones-src/db.example.com b/test/dnszones-src/db.example.com index 6b35113e2..b12d9a6a6 100644 --- a/test/dnszones-src/db.example.com +++ b/test/dnszones-src/db.example.com @@ -28,6 +28,10 @@ example.com. TXT v=spf1 -all double TXT v=spf1 include:_spf.google.com ~all TXT v=spf1 +a +mx -all +doubleplus TXT v=spf1 include:_spf.google.com ~all + TXT google-site-verification=q-4MSVLjluQIsBztu5jzJBxAcJXzNcHAk0jHTZEamB8 + TXT v=spf1 +a +mx -all + uppercase TXT v=sPf1 +all ; Alias A record for the local host, under the name "server1" diff --git a/test/scripts/4600-SPF/4601 b/test/scripts/4600-SPF/4601 index 6012cfdeb..72ef10d3f 100644 --- a/test/scripts/4600-SPF/4601 +++ b/test/scripts/4600-SPF/4601 @@ -25,8 +25,13 @@ quit # killdaemon # +# SERVFAIL -> temperror # A multiple spf-RR return should get permerror +# - and not crash with non-spf txt records +# v=spf1 is casr-insensitive exim -be +${lookup {fred@test.again.dns} spf {HOSTIPV4}} ${lookup {fred@double.example.com} spf {8.8.8.8}} +${lookup {fred@doubleplus.example.com} spf {8.8.8.8}} ${lookup {fred@uppercase.example.com} spf {HOSTIPV4}} **** |