DKIM: Force use of tainted mem for headers
[exim.git] / test / scripts / 4030-proxy-protocol / 4031
1 # proxy-protocol proxy on inbound -bh
2 #
3 ### non-prox plain receive
4 exim -bh 127.0.0.2
5 HELO clientname
6 MAIL FROM: <a@test.ex>
7 RCPT TO:<b@test.ex>
8 DATA
9 Subject: test non-prox
10
11 body non-prox
12 .
13 QUIT
14 ****
15 ### protocol v1 receive
16 exim -bh HOSTIPV4
17 :eval:PROXY TCP4 127.0.0.2 127.42.42.42 64000 25\r\n
18 HELO clientname
19 MAIL FROM: <a@test.ex>
20 RCPT TO:<b@test.ex>
21 DATA
22 Subject: test v1
23
24 body v1
25 .
26 QUIT
27 ****
28 ### protocol v2 receive
29 exim -bh HOSTIPV4
30 :eval:\x0D\x0A\x0D\x0A\x00\x0D\x0A\x51\x55\x49\x54\x0A\x21\x11\x00\x0c\x7f\x00\x00\x02\x7f\x2a\x2a\x2a\xc2\x95\x04\x01
31 HELO clientname
32 MAIL FROM: <a@test.ex>
33 RCPT TO:<b@test.ex>
34 DATA
35 Subject: test v2
36
37 body v2
38 .
39 QUIT
40 ****
41 ### proxy timeout
42 exim -bh HOSTIPV4
43 :sleep:3
44 PROXY TCP4 127.0.0.2 127.42.42.42 64000 25
45 QUIT
46 ****