From 4c140a56283703161e5f26ae022bad694a481603 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Mon, 10 Feb 2020 20:48:46 +0000 Subject: smtp: Added UTF-8 mailbox tests to verify existing behaviour --- tests/data/test956 | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 tests/data/test956 (limited to 'tests/data/test956') diff --git a/tests/data/test956 b/tests/data/test956 new file mode 100644 index 000000000..51a978e92 --- /dev/null +++ b/tests/data/test956 @@ -0,0 +1,54 @@ + + + +SMTP + + + +# +# Server-side + + + +# +# Client-side + + +smtp + + +LC_ALL=en_US.UTF-8 +LC_CTYPE=en_US.UTF-8 + + +perl -MI18N::Langinfo=langinfo,CODESET -e 'die "Needs a UTF-8 locale" if (lc(langinfo(CODESET())) ne "utf-8");' + + +SMTP without SMTPUTF8 support - UTF-8 based recipient (local part only) + + +From: different +To: another + +body + + +smtp://%HOSTIP:%SMTPPORT/956 --mail-rcpt Stödmottagaren@example.com --mail-from sender@example.com -T - + + + +# +# Verify data after the test has been "shot" + +# 55 - CURLE_SEND_ERROR + +55 + + +EHLO 956 +MAIL FROM: +RCPT TO: +QUIT + + + -- cgit v1.2.3