diff options
author | Steve Holme <steve_holme@hotmail.com> | 2020-02-08 00:37:03 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2020-02-26 11:02:38 +0000 |
commit | 2aa6c1735a84f6df11b5f5863a704034b820c925 (patch) | |
tree | 15598b3ed7640e57fc6392b9382ecc213a052259 /tests/data/test964 | |
parent | e7959c280c0361d2e448776d9ea11305e2f026bc (diff) | |
download | curl-2aa6c1735a84f6df11b5f5863a704034b820c925.tar.gz |
smtp: Support UTF-8 based host names in the VRFY command
Diffstat (limited to 'tests/data/test964')
-rw-r--r-- | tests/data/test964 | 48 |
1 files changed, 48 insertions, 0 deletions
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 @@ +<testcase> +<info> +<keywords> +SMTP +VRFY +IDN +</keywords> +</info> + +# +# Server-side +<reply> +</reply> + +# +# Client-side +<client> +<server> +smtp +</server> +<features> +idn +</features> +<setenv> +LC_ALL=en_US.UTF-8 +LC_CTYPE=en_US.UTF-8 +</setenv> +<precheck> +perl -MI18N::Langinfo=langinfo,CODESET -e 'die "Needs a UTF-8 locale" if (lc(langinfo(CODESET())) ne "utf-8");' +</precheck> + <name> +SMTP external VRFY without SMTPUTF8 support (IDN Enabled) - UTF-8 based recipient (host part only) + </name> +<command> +smtp://%HOSTIP:%SMTPPORT/964 --mail-rcpt user@åäö.se +</command> +</client> + +# +# Verify data after the test has been "shot" +<verify> +<protocol> +EHLO 964
+VRFY user@xn--4cab6c.se
+QUIT
+</protocol> +</verify> +</testcase> |