1 # lookup string-expansion
3 # It is rather difficult to properly test spf. We use libspf2 to do the work, and it
4 # does the DNS lookups, so we cannot intercept them in the testsuite's usual fashion
5 # to provide values for testcases.
7 # For now just check that what should be working syntax does not cause us to fall over.
8 # Be careful with envelope-domains used for testcases, as real DNS lookups will be done.
10 exim -bd -DSERVER=server -oX PORT_D
12 client HOSTIPV4 PORT_D
16 mail from:<a@example.com>
18 rcpt to:<fred@test.ex>
22 client 127.0.0.1 PORT_D
26 mail from:<b@example.com>
28 rcpt to:<fred@test.ex>