1 # lookup string-expansion
3 exim -bd -DSERVER=server -oX PORT_D:PORT_S
5 client 127.0.0.1 PORT_D
9 mail from:<a@example.com>
11 rcpt to:<fred@test.ex>
15 client 127.0.0.1 PORT_S
19 mail from:<b@example.com>
21 rcpt to:<fred@test.ex>
28 # SERVFAIL -> temperror
29 # A multiple spf-RR return should get permerror
30 # - and not crash with non-spf txt records
31 # v=spf1 is casr-insensitive
33 temperror ${lookup {fred@test.again.dns} spf {HOSTIPV4}}
34 permerror ${lookup {fred@double.example.com} spf {8.8.8.8}}
35 permerror ${lookup {fred@doubleplus.example.com} spf {8.8.8.8}}
36 pass ${lookup {fred@uppercase.example.com} spf {HOSTIPV4}}