SPF: handle DNS NO_DATA return. Bug 2499
[users/jgh/exim.git] / test / scripts / 4600-SPF / 4601
index 6012cfdebd15b970fa7c78c564d32e507d0eedf2..96f06a6d12fa2a7807399f148d70bc0178a15632 100644 (file)
@@ -25,8 +25,14 @@ 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@double.example.com} spf {8.8.8.8}}
-${lookup {fred@uppercase.example.com} spf {HOSTIPV4}}
+none      ${lookup {fred@v6.test.ex} spf {HOSTIPV4}}
+temperror ${lookup {fred@test.again.dns} spf {HOSTIPV4}}
+permerror ${lookup {fred@double.example.com} spf {8.8.8.8}}
+permerror ${lookup {fred@doubleplus.example.com} spf {8.8.8.8}}
+pass      ${lookup {fred@uppercase.example.com} spf {HOSTIPV4}}
 ****