Merge branch 'SMTPUTF8_1516'. Bug 1516
[users/jgh/exim.git] / test / scripts / 4200-International / 4201
1 # Internationalised mail: smtp
2 # Exim test configuration 4200
3 #
4 exim -DSERVER=server -bd -oX PORT_D
5 ****
6 #
7 #
8 # Basic smtp input, no delivery
9 client 127.0.0.1 PORT_D
10 ??? 220
11 EHLO client
12 ??? 250-
13 ??? 250-SIZE
14 ??? 250-8BITMIME
15 ??? 250-PIPELINING
16 ??? 250-SMTPUTF8
17 ??? 250 HELP
18 MAIL FROM: <someone@some.domain> SMTPUTF8
19 ??? 250
20 RCPT TO: <userx@test.ex>
21 ??? 250
22 DATA
23 ??? 354
24 Subject: test
25
26 body
27 .
28 ??? 250
29 QUIT
30 ??? 221
31 ****
32 #
33 #
34 # utf-8 from, Basic smtp input, no delivery
35 client 127.0.0.1 PORT_D
36 ??? 220
37 EHLO client
38 ??? 250-
39 ??? 250-SIZE
40 ??? 250-8BITMIME
41 ??? 250-PIPELINING
42 ??? 250-SMTPUTF8
43 ??? 250 HELP
44 MAIL FROM: <ليهمابتكلموشعربي؟@czech.Pročprostěnemluvíčesky.com> SMTPUTF8
45 ??? 250
46 RCPT TO: <userx@test.ex>
47 ??? 250
48 DATA
49 ??? 354
50 Subject: test
51
52 body
53 .
54 ??? 250
55 QUIT
56 ??? 221
57 ****
58 #
59 #
60 # utf-8 from, -bs input and forwarding
61 exim -bs -odi
62 EHLO client.bh
63 MAIL FROM: <他们为什么不说中文@hebrew.למההםפשוטלאמדבריםעברית.com> SMTPUTF8
64 RCPT TO: <usery@test.ex>
65 DATA
66 Subject: test
67
68 body
69 .
70 QUIT
71 ****
72 #
73 killdaemon
74 exim -DSERVER=server -qqff
75 ****
76 exim -DSERVER=server -bd -oX PORT_D
77 ****
78 #
79 #
80 # commandline/stdin input, normal rcpt & sender, forwarded
81 exim -odi -f user.dontcare@test1.com userx@test.ex
82 Test message 1.
83 .
84 ****
85 # commandline/stdin input, utf-8 rcpt, forwarded
86 exim -odi -f user.dontcare@test1.com user.他们为什么不说中文@test.ex
87 Test message 2.
88 .
89 ****
90 # commandline/stdin input, utf-8 sender, forwarded
91 exim -odi -f 他们为什么不说中文@test1.com userx@test.ex
92 Test message 3.
93 .
94 ****
95 #
96 #
97 killdaemon
98 exim -DSERVER=server -qqff
99 ****
100 #
101 #
102 exim -DSERVER=server -DOPTION="" -bd -oX PORT_D
103 ****
104 #
105 # forwarding fails when target does not support SMTPUTF8
106 exim -bs -odi
107 EHLO client.ffail
108 MAIL FROM: <यहलोगहिन्दीक्योंनहींबोलसकतेहैं@japanese.なぜみんな日本語を話してくれないのか.local> SMTPUTF8
109 RCPT TO: <userz@test.ex>
110 DATA
111 Subject: test
112
113 body
114 .
115 QUIT
116 ****
117 #
118 #
119 #
120 killdaemon
121 #
122 exim -qfl
123 ****
124 #
125 #
126 #
127 #
128 #
129 exim -DSERVER=server -bd -oX PORT_D
130 ****
131 #
132 # Recipient verify callout, pass
133 exim -bs -odi -DCONTROL="verify=recipient/callout"
134 EHLO client.bh
135 MAIL FROM: <세계의모든사람들이한국어를이해한다면얼마나좋을까@russian.почемужеонинеговорятпорусски.com> SMTPUTF8
136 RCPT TO: <userQ@test.ex>
137 DATA
138 Subject: test
139
140 body
141 .
142 QUIT
143 ****
144 # Recipient+random verify callout, pass
145 exim -bs -odi -DCONTROL="verify=recipient/callout=random"
146 EHLO client.bh
147 MAIL FROM: <세계의모든사람들이한국어를이해한다면얼마나좋을까@russian.почемужеонинеговорятпорусски.com> SMTPUTF8
148 RCPT TO: <userR@test.ex>
149 DATA
150 Subject: test
151
152 body
153 .
154 QUIT
155 ****
156 #
157 killdaemon
158 exim -DSERVER=server -qqff
159 ****
160 #
161 #
162 #
163 #
164 #
165 exim -DSERVER=server -DOPTION="" -bd -oX PORT_D
166 ****
167 #
168 # Recipient verify callout, fail
169 exim -bs -odi -DCONTROL="verify=recipient/callout"
170 EHLO client.ffail
171 MAIL FROM: <CALLER@spanish.PorquénopuedensimplementehablarenEspañol.local> SMTPUTF8
172 RCPT TO: <userS@test.ex>
173 QUIT
174 ****
175 #
176 # Recipient+random verify callout, fail
177 exim -bs -odi -DCONTROL="verify=recipient/callout=random"
178 EHLO client.ffail
179 MAIL FROM: <CALLER@vietnamese.TạisaohọkhôngthểchỉnóitiếngViệt.local> SMTPUTF8
180 RCPT TO: <userT@test.ex>
181 QUIT
182 ****
183 #
184 killdaemon
185 #
186 #
187 #
188 #
189 #
190 #
191 #
192 exim -DSERVER=server -bd -oX PORT_D
193 ****
194 #
195 # utf-8 to, -bs input and forwarding
196 exim -bs -odi
197 EHLO client.bh
198 MAIL FROM: <userU@test.ex> SMTPUTF8
199 RCPT TO: <user.γλυκύρριζα@test.ex>
200 DATA
201 Subject: test
202
203 body
204 .
205 QUIT
206 ****
207 #
208 killdaemon
209 exim -DSERVER=server -qqff
210 ****
211 #
212 #
213 exim -DSERVER=server -bd -oX PORT_D
214 ****
215 #
216 # sender verify callout, pass
217 exim -bs -odi -DCONTROL="verify=sender/callout"
218 EHLO client.bh
219 MAIL FROM: <userV.වැල්_මී@test.ex> SMTPUTF8
220 RCPT TO: <user.அதிமதுரம்@test.ex>
221 DATA
222 Subject: test
223
224 body
225 .
226 QUIT
227 ****
228 # sender+random verify callout, pass
229 exim -bs -odi -DCONTROL="verify=sender/callout=random"
230 EHLO client.bh
231 MAIL FROM: <userW@test.ex> SMTPUTF8
232 RCPT TO: <user.ഇരട്ടിമധുരം@test.ex>
233 DATA
234 Subject: test
235
236 body
237 .
238 QUIT
239 ****
240 #
241 killdaemon
242 exim -DSERVER=server -qqff
243 ****
244 #
245 #
246 #
247 #
248 exim -DSERVER=server -DOPTION="" -bd -oX PORT_D
249 ****
250 # sender verify callout, fail
251 exim -bs -odi -DCONTROL="verify=sender/callout"
252 EHLO client.sfail
253 MAIL FROM: <userA@test.ex> SMTPUTF8
254 RCPT TO: <user.यष्टिमधु@test.ex>
255 QUIT
256 ****
257 # sender+random verify callout, fail
258 exim -bs -odi -DCONTROL="verify=sender/callout=random"
259 EHLO client.sfail
260 MAIL FROM: <userB.જેઠીમધ@test.ex> SMTPUTF8
261 RCPT TO: <user.ქართული@test.ex>
262 QUIT
263 ****
264 #
265 killdaemon