tidying
[exim.git] / test / scripts / 4034-xclient-tls / 4034
1 # XCLIENT under TLS
2 #
3 munge loopback
4 #
5 exim -bd -DSERVER=server -DOPTION -oX PORT_D
6 ****
7 #
8 ### (1) non-prox plain receive (not advertised) (2) XCLIENT refusal when not advertised
9 client-anytls 127.0.0.1 PORT_D
10 ??? 220
11 EHLO plainclient
12 ??? 250-
13 ??? 250-SIZE
14 ??? 250-LIMITS
15 ??? 250-8BITMIME
16 ??? 250-PIPELINING
17 ??? 250-STARTTLS
18 ??? 250 HELP
19 STARTTLS
20 ??? 220
21 EHLO plainclient
22 ??? 250-
23 ??? 250-SIZE
24 ??? 250-LIMITS
25 ??? 250-8BITMIME
26 ??? 250-PIPELINING
27 ??? 250 HELP
28 MAIL FROM:<a@test.ex>
29 ??? 250
30 RCPT TO:<b@test.ex>
31 ??? 250
32 DATA
33 ??? 354
34 Subject: test
35
36 body
37 .
38 ??? 250
39 XCLIENT NAME=proxylookedupname.net ADDR=127.0.0.2 PORT=4242
40 ??? 550
41 QUIT
42 ??? 221
43 ****
44 #
45 ### receive, (1) fully loaded (2) new conn (3) bad: transaction in progress (4) bad: missing EHLO after XCLIENT
46 client-anytls HOSTIPV4 PORT_D
47 ??? 220
48 EHLO xclientproxy
49 ??? 250-
50 ??? 250-SIZE
51 ??? 250-LIMITS
52 ??? 250-8BITMIME
53 ??? 250-PIPELINING
54 ??? 250-STARTTLS
55 ??? 250-XCLIENT
56 ??? 250 HELP
57 STARTTLS
58 ??? 220
59 EHLO xclientproxy
60 ??? 250-
61 ??? 250-SIZE
62 ??? 250-LIMITS
63 ??? 250-8BITMIME
64 ??? 250-PIPELINING
65 ??? 250-XCLIENT
66 ??? 250 HELP
67 XCLIENT NAME=proxylookedupname.net ADDR=127.0.0.2 PORT=4242 DESTADDR=10.42.42.42 DESTPORT=25 LOGIN=hisloginname
68 ??? 220
69 EHLO clienthelo
70 ??? 250-
71 ??? 250-SIZE
72 ??? 250-LIMITS
73 ??? 250-8BITMIME
74 ??? 250-PIPELINING
75 ??? 250-XCLIENT
76 ??? 250 HELP
77 MAIL FROM:<c@test.ex>
78 ??? 250
79 RCPT TO:<d@test.ex>
80 ??? 250
81 DATA
82 ??? 354
83 Subject: test
84
85 body
86 .
87 ??? 250
88 XCLIENT NAME=[TEMPUNAVAIL] ADDR=127.0.0.3 PORT=4243 LOGIN=[UNAVAILABLE]
89 ??? 220
90 EHLO anotherhelo
91 ??? 250-
92 ??? 250-SIZE
93 ??? 250-LIMITS
94 ??? 250-8BITMIME
95 ??? 250-PIPELINING
96 ??? 250-XCLIENT
97 ??? 250 HELP
98 MAIL FROM:<c2@test.ex>
99 ??? 250
100 RCPT TO:<d2@test.ex>
101 ??? 250
102 DATA
103 ??? 354
104 Subject: test
105
106 body
107 .
108 ??? 250
109 MAIL FROM:<c2@test.ex>
110 ??? 250
111 XCLIENT NAME=bad.time.for.xclient
112 ??? 503
113 RSET
114 ??? 250
115 XCLIENT NAME=miss.ehlo.after.xclient
116 ??? 220
117 MAIL FROM:<bad@test.ex>
118 ??? 503
119 QUIT
120 ??? 221
121 ****
122 #
123 ###          (5) no operands to XCLIENT (6,7) unrecognised operands
124 client-anytls HOSTIPV4 PORT_D
125 ??? 220
126 EHLO xclientproxy
127 ??? 250-
128 ??? 250-SIZE
129 ??? 250-LIMITS
130 ??? 250-8BITMIME
131 ??? 250-PIPELINING
132 ??? 250-STARTTLS
133 ??? 250-XCLIENT
134 ??? 250 HELP
135 STARTTLS
136 ??? 220
137 EHLO xclientproxy
138 ??? 250-
139 ??? 250-SIZE
140 ??? 250-LIMITS
141 ??? 250-8BITMIME
142 ??? 250-PIPELINING
143 ??? 250-XCLIENT
144 ??? 250 HELP
145 XCLIENT
146 ??? 501
147 XCLIENT NONO=
148 ??? 501
149 XCLIENT NAMEfoobar=
150 ??? 501
151 XCLIENT SIXSIX=
152 ??? 501-
153 ??? 501 Too many
154 ???*
155 ****
156 #
157 ###          (7) operand with zero-len value (8) operand with no value
158 client-anytls HOSTIPV4 PORT_D
159 ??? 220
160 EHLO xclientproxy
161 ??? 250-
162 ??? 250-SIZE
163 ??? 250-LIMITS
164 ??? 250-8BITMIME
165 ??? 250-PIPELINING
166 ??? 250-STARTTLS
167 ??? 250-XCLIENT
168 ??? 250 HELP
169 STARTTLS
170 ??? 220
171 EHLO xclientproxy
172 ??? 250-
173 ??? 250-SIZE
174 ??? 250-LIMITS
175 ??? 250-8BITMIME
176 ??? 250-PIPELINING
177 ??? 250-XCLIENT
178 ??? 250 HELP
179 XCLIENT NAME=
180 ??? 501
181 XCLIENT NAME
182 ??? 501
183 QUIT
184 ??? 221
185 ****
186 #
187 #
188 killdaemon
189 no_msglog_check
190 no_stdout_check
191 no_stderr_check