Testsuite: DNS lookup notes
[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#
4f6bbb37
JH
6# The libspf2 object stack is built with an exim-specific DNS lookup base object,
7# so the testsuite intercept to fakedns works. Be careful of names and addresses
8# used, as nonhandled lookups are passed on to real DNS.
9#
b8e97684 10exim -bd -DSERVER=server -oX PORT_D:PORT_S:PORT_N
743c4c9f 11****
b8e97684 12client 127.0.0.1 PORT_S
743c4c9f
JH
13??? 220
14helo testclient
15??? 250
16mail from:<a@example.com>
17??? 250
18rcpt to:<fred@test.ex>
42fab765 19??? 250
743c4c9f
JH
20quit
21****
b8e97684 22client HOSTIPV4 PORT_S
87e9d061
JH
23??? 220
24helo testclient
25??? 250
26mail from:<b@test.example.com>
27??? 250
28rcpt to:<fred@test.ex>
42fab765 29??? 250
87e9d061
JH
30quit
31****
b8e97684 32client 127.0.0.1 PORT_D
743c4c9f
JH
33??? 220
34helo testclient
35??? 250
87e9d061 36mail from:<c@example.com>
743c4c9f
JH
37??? 250
38rcpt to:<fred@test.ex>
39??? 250
40quit
41****
b8e97684
JH
42client HOSTIPV4 PORT_D
43??? 220
44helo testclient
45??? 250
46mail from:<b@test.example.com>
47??? 250
48rcpt to:<fred@test.ex>
49??? 550
50quit
51****
52client 127.0.0.1 PORT_N
53??? 220
54helo testclient
55??? 250
56mail from:<c@example.com>
57??? 250
58rcpt to:<fred@test.ex>
59??? 550
60quit
61****
743c4c9f
JH
62#
63killdaemon