Fix validation of domain-literals in Message_ID: headers. Bug 2805
[exim.git] / test / scripts / 4030-proxy-protocol / 4030
1 # proxy-protocol proxy on inbound smtp
2 #
3 munge loopback
4 #
5 exim -bd -DSERVER=server -oX PORT_D
6 ****
7 #
8 ### non-prox plain receive
9 client 127.0.0.1 PORT_D
10 ??? 220
11 HELO clientname
12 ??? 250
13 MAIL FROM:<a@test.ex>
14 ??? 250
15 RCPT TO:<b@test.ex>
16 ??? 250
17 DATA
18 ??? 354
19 Subject: test
20
21 body
22 .
23 ??? 250
24 QUIT
25 ??? 221
26 ****
27 #
28 ### protocol v1 plain receive
29 client HOSTIPV4 PORT_D
30 PROXY TCP4 127.0.0.2 127.42.42.42 64000 25
31 ??? 220
32 HELO clientname
33 ??? 250
34 MAIL FROM:<c@test.ex>
35 ??? 250
36 RCPT TO:<d@test.ex>
37 ??? 250
38 DATA
39 ??? 354
40 Subject: test
41
42 body
43 .
44 ??? 250
45 QUIT
46 ??? 221
47 ****
48 #
49 #
50 #
51 ### protocol v2 plain receive
52 client HOSTIPV4 PORT_D
53 >>> \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
54 ??? 220
55 HELO clientname
56 ??? 250
57 MAIL FROM:<e@test.ex>
58 ??? 250
59 RCPT TO:<f@test.ex>
60 ??? 250
61 DATA
62 ??? 354
63 Subject: test
64
65 body
66 .
67 ??? 250
68 QUIT
69 ??? 221
70 ****
71 #
72 #
73 #
74 ### proxy timeout
75 client HOSTIPV4 PORT_D
76 ??? 220
77 PROXY TCP4 127.0.0.2 127.42.42.42 64000 25
78 ??? 503
79 QUIT
80 ??? 221
81 ****
82 killdaemon
83 no_msglog_check