Fix bad use of library, copying string over itself
[users/jgh/exim.git] / test / scripts / 4220-OpenSSL-International / 4221
1 # Internationalised mail: smtp input and forwarding
2 # Exim test configuration 4221
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-STARTTLS
17 ??? 250-SMTPUTF8
18 ??? 250 HELP
19 MAIL FROM: <someone@some.domain> SMTPUTF8
20 ??? 250
21 RCPT TO: <userx@test.ex>
22 ??? 250
23 DATA
24 ??? 354
25 Subject: test
26
27 body
28 .
29 ??? 250
30 QUIT
31 ??? 221
32 ****
33 #
34 #
35 # utf-8 from, Basic smtp input, no delivery
36 client 127.0.0.1 PORT_D
37 ??? 220
38 EHLO client
39 ??? 250-
40 ??? 250-SIZE
41 ??? 250-8BITMIME
42 ??? 250-PIPELINING
43 ??? 250-STARTTLS
44 ??? 250-SMTPUTF8
45 ??? 250 HELP
46 MAIL FROM: <ليهمابتكلموشعربي؟@czech.Pročprostěnemluvíčesky.com> SMTPUTF8
47 ??? 250
48 RCPT TO: <userx@test.ex>
49 ??? 250
50 DATA
51 ??? 354
52 Subject: test
53
54 body
55 .
56 ??? 250
57 QUIT
58 ??? 221
59 ****
60 #
61 #
62 # utf-8 from, -bs input and forwarding
63 exim -bs -odi
64 EHLO client.bh
65 MAIL FROM: <他们为什么不说中文@hebrew.למההםפשוטלאמדבריםעברית.com> SMTPUTF8
66 RCPT TO: <usery@test.ex>
67 DATA
68 Subject: test
69
70 body
71 .
72 QUIT
73 ****
74 #
75 #
76 #
77 killdaemon
78 exim -DSERVER=server -DNOTDAEMON -qqff
79 ****