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/test959 | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 tests/data/test959 (limited to 'tests/data/test959') diff --git a/tests/data/test959 b/tests/data/test959 new file mode 100644 index 000000000..519aca45a --- /dev/null +++ b/tests/data/test959 @@ -0,0 +1,53 @@ + + + +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 sender (host part only) + + +From: different +To: another + +body + + +smtp://%HOSTIP:%SMTPPORT/959 --mail-rcpt recipient@example.com --mail-from sender@åäö.se -T - + + + +# +# Verify data after the test has been "shot" + +# 55 - CURLE_SEND_ERROR + +55 + + +EHLO 959 +MAIL FROM: +QUIT + + + -- cgit v1.2.3