Commit | Line | Data |
---|---|---|
743c4c9f JH |
1 | # lookup string-expansion |
2 | # | |
42fab765 | 3 | exim -bd -DSERVER=server -oX PORT_D:PORT_S |
743c4c9f | 4 | **** |
42fab765 | 5 | client 127.0.0.1 PORT_D |
743c4c9f JH |
6 | ??? 220 |
7 | helo testclient | |
8 | ??? 250 | |
9 | mail from:<a@example.com> | |
10 | ??? 250 | |
11 | rcpt to:<fred@test.ex> | |
12 | ??? 250 | |
13 | quit | |
14 | **** | |
42fab765 | 15 | client 127.0.0.1 PORT_S |
743c4c9f JH |
16 | ??? 220 |
17 | helo testclient | |
18 | ??? 250 | |
19 | mail from:<b@example.com> | |
20 | ??? 250 | |
21 | rcpt to:<fred@test.ex> | |
22 | ??? 250 | |
23 | quit | |
24 | **** | |
25 | # | |
26 | killdaemon | |
4533e306 | 27 | # |
b17ea87d | 28 | # SERVFAIL -> temperror |
4533e306 | 29 | # A multiple spf-RR return should get permerror |
b17ea87d JH |
30 | # - and not crash with non-spf txt records |
31 | # v=spf1 is casr-insensitive | |
4533e306 | 32 | exim -be |
44e90dfa WB |
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}} | |
4533e306 | 37 | **** |