From 2aa6c1735a84f6df11b5f5863a704034b820c925 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sat, 8 Feb 2020 00:37:03 +0000 Subject: smtp: Support UTF-8 based host names in the VRFY command --- tests/data/test964 | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 tests/data/test964 (limited to 'tests/data/test964') diff --git a/tests/data/test964 b/tests/data/test964 new file mode 100644 index 000000000..326cdd21e --- /dev/null +++ b/tests/data/test964 @@ -0,0 +1,48 @@ + + + +SMTP +VRFY +IDN + + + +# +# Server-side + + + +# +# Client-side + + +smtp + + +idn + + +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 (IDN Enabled) - UTF-8 based recipient (host part only) + + +smtp://%HOSTIP:%SMTPPORT/964 --mail-rcpt user@åäö.se + + + +# +# Verify data after the test has been "shot" + + +EHLO 964 +VRFY user@xn--4cab6c.se +QUIT + + + -- cgit v1.2.3