1 # acl condition and variables
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).
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.
10 exim -bd -DSERVER=server -oX PORT_D:PORT_S:PORT_D2
12 client 127.0.0.1 PORT_S
16 mail from:<a@example.com>
18 rcpt to:<fred@test.ex>
22 client HOSTIPV4 PORT_S
26 mail from:<b@test.example.com>
28 rcpt to:<fred@test.ex>
32 client 127.0.0.1 PORT_D
36 mail from:<c@example.com>
38 rcpt to:<fred@test.ex>
42 client HOSTIPV4 PORT_D
46 mail from:<b@test.example.com>
48 rcpt to:<fred@test.ex>
52 client 127.0.0.1 PORT_D2
56 mail from:<c@example.com>
58 rcpt to:<fred@test.ex>
63 client 127.0.0.1 PORT_S
69 rcpt to:<fred@test.ex>