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