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/test961 | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 tests/data/test961 (limited to 'tests/data/test961') diff --git a/tests/data/test961 b/tests/data/test961 new file mode 100644 index 000000000..80ebca887 --- /dev/null +++ b/tests/data/test961 @@ -0,0 +1,48 @@ + + + +SMTP +VRFY + + + +# +# 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 external VRFY without SMTPUTF8 support - UTF-8 based recipient (host part only) + + +smtp://%HOSTIP:%SMTPPORT/961 --mail-rcpt user@åäö.se + + + +# +# Verify data after the test has been "shot" + +# 56 - CURLE_RECV_ERROR + +56 + + +EHLO 961 +VRFY user@åäö.se +QUIT + + + -- cgit v1.2.3