xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | SMTP |
| 5 | VRFY |
| 6 | IDN |
| 7 | </keywords> |
| 8 | </info> |
| 9 | |
| 10 | # |
| 11 | # Server-side |
| 12 | <reply> |
| 13 | </reply> |
| 14 | |
| 15 | # |
| 16 | # Client-side |
| 17 | <client> |
| 18 | <server> |
| 19 | smtp |
| 20 | </server> |
| 21 | <features> |
| 22 | idn |
| 23 | !win32 |
| 24 | </features> |
| 25 | <setenv> |
| 26 | LC_ALL=en_US.UTF-8 |
| 27 | LC_CTYPE=en_US.UTF-8 |
| 28 | </setenv> |
| 29 | <precheck> |
| 30 | perl -MI18N::Langinfo=langinfo,CODESET -e 'die "Needs a UTF-8 locale" if (lc(langinfo(CODESET())) ne "utf-8");' |
| 31 | </precheck> |
| 32 | <name> |
| 33 | SMTP external VRFY without SMTPUTF8 support (IDN Enabled) - UTF-8 based recipient (host part only) |
| 34 | </name> |
| 35 | <command> |
| 36 | smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt user@åäö.se |
| 37 | </command> |
| 38 | </client> |
| 39 | |
| 40 | # |
| 41 | # Verify data after the test has been "shot" |
| 42 | <verify> |
| 43 | <protocol> |
| 44 | EHLO %TESTNUMBER
|
| 45 | VRFY user@xn--4cab6c.se
|
| 46 | QUIT
|
| 47 | </protocol> |
| 48 | </verify> |
| 49 | </testcase> |