SPF: use exim facilities for DNS lookups
[exim.git] / test / scripts / 4600-SPF / 4600
CommitLineData
743c4c9f
JH
1# acl condition and variables
2#
b8e97684
JH
3# The 127.0.0.1 source addr seems to be a builtin in the spf library; no dns lookup is done.
4# HOSTIPV4 does get a series of lookups (see server debug output to verify that).
743c4c9f 5#
b8e97684 6exim -bd -DSERVER=server -oX PORT_D:PORT_S:PORT_N
743c4c9f 7****
b8e97684 8client 127.0.0.1 PORT_S
743c4c9f
JH
9??? 220
10helo testclient
11??? 250
12mail from:<a@example.com>
13??? 250
14rcpt to:<fred@test.ex>
42fab765 15??? 250
743c4c9f
JH
16quit
17****
b8e97684 18client HOSTIPV4 PORT_S
87e9d061
JH
19??? 220
20helo testclient
21??? 250
22mail from:<b@test.example.com>
23??? 250
24rcpt to:<fred@test.ex>
42fab765 25??? 250
87e9d061
JH
26quit
27****
b8e97684 28client 127.0.0.1 PORT_D
743c4c9f
JH
29??? 220
30helo testclient
31??? 250
87e9d061 32mail from:<c@example.com>
743c4c9f
JH
33??? 250
34rcpt to:<fred@test.ex>
35??? 250
36quit
37****
b8e97684
JH
38client HOSTIPV4 PORT_D
39??? 220
40helo testclient
41??? 250
42mail from:<b@test.example.com>
43??? 250
44rcpt to:<fred@test.ex>
45??? 550
46quit
47****
48client 127.0.0.1 PORT_N
49??? 220
50helo testclient
51??? 250
52mail from:<c@example.com>
53??? 250
54rcpt to:<fred@test.ex>
55??? 550
56quit
57****
743c4c9f
JH
58#
59killdaemon