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/test958 | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 tests/data/test958 (limited to 'tests/data/test958') diff --git a/tests/data/test958 b/tests/data/test958 new file mode 100644 index 000000000..7f974b8b5 --- /dev/null +++ b/tests/data/test958 @@ -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 (local part only) + + +smtp://%HOSTIP:%SMTPPORT/958 --mail-rcpt Användaren@example.com + + + +# +# Verify data after the test has been "shot" + +# 56 - CURLE_RECV_ERROR + +56 + + +EHLO 958 +VRFY Användaren@example.com +QUIT + + + -- cgit v1.2.1