I18N: Fix protocol recorded for a multi-SMTPUTF8-message connection. Bug 2287
[users/heiko/exim.git] / test / scripts / 4200-International / 4201
index bac040f9b9975a0ca4f32d1c82547167af0115d4..fc9a50741745236a74c0a1dce024774c48b6f754 100644 (file)
@@ -1,5 +1,5 @@
-# Internationalised mail: smtp
-# Exim test configuration 4200
+# Internationalised mail: smtp input and forwarding
+# Exim test configuration 4201
 #
 exim -DSERVER=server -bd -oX PORT_D
 ****
@@ -31,7 +31,7 @@ QUIT
 ****
 #
 #
-# utf-8 from, Basic smtp input, no delivery
+# utf-8 from, Basic smtp input, no delivery.  Two messages in a connection.
 client 127.0.0.1 PORT_D
 ??? 220
 EHLO client
@@ -49,6 +49,17 @@ DATA
 ??? 354
 Subject: test
 
+body
+.
+??? 250
+MAIL FROM: <ليهمابتكلموشعربي؟@czech.Pročprostěnemluvíčesky.com> SMTPUTF8
+??? 250
+RCPT TO: <usery@test.ex>
+??? 250
+DATA
+??? 354
+Subject: test
+
 body
 .
 ??? 250
@@ -57,8 +68,20 @@ QUIT
 ****
 #
 #
+# utf-8 from, -bs input and forwarding
+exim -bs -odi
+EHLO client.bh
+MAIL FROM: <他们为什么不说中文@hebrew.למההםפשוטלאמדבריםעברית.com> SMTPUTF8
+RCPT TO: <usery@test.ex>
+DATA
+Subject: test
+
+body
+.
+QUIT
+****
+#
 killdaemon
-exim -DSERVER=server -qq
+exim -DSERVER=server -DNOTDAEMON -qqff
 ****
 no_msglog_check
-