SPF: fix result for case of only non-spf TXT RRs. Bug 2499
[users/jgh/exim.git] / test / scripts / 4600-SPF / 4601
1 # lookup string-expansion
2 #
3 exim -bd -DSERVER=server -oX PORT_D:PORT_S
4 ****
5 client 127.0.0.1 PORT_D
6 ??? 220
7 helo testclient
8 ??? 250
9 mail from:<a@example.com>
10 ??? 250
11 rcpt to:<fred@test.ex>
12 ??? 250
13 quit
14 ****
15 client 127.0.0.1 PORT_S
16 ??? 220
17 helo testclient
18 ??? 250
19 mail from:<b@example.com>
20 ??? 250
21 rcpt to:<fred@test.ex>
22 ??? 250
23 quit
24 ****
25 #
26 killdaemon
27 #
28 #
29 #
30 exim -be
31 eDNS_NOMATCH       none      ${lookup {fred@v6.test.ex} spf {HOSTIPV4}}
32 eDNS_AGAIN         temperror ${lookup {fred@test.again.dns} spf {HOSTIPV4}}
33 multiple rr        permerror ${lookup {fred@double.example.com} spf {8.8.8.8}}
34 multi + non-spf    permerror ${lookup {fred@doubleplus.example.com} spf {8.8.8.8}}
35 uppercase in v=    pass      ${lookup {fred@uppercase.example.com} spf {HOSTIPV4}}
36 only non-spf txt   none      ${lookup {fred@test.ex} spf {HOSTIPV4}}
37 ****