| 1 |
<testcase> |
| 2 |
<info> |
| 3 |
<keywords> |
| 4 |
SMTP |
| 5 |
VRFY |
| 6 |
IDN |
| 7 |
</keywords> |
| 8 |
</info> |
| 9 |
|
| 10 |
# |
| 11 |
# Server-side |
| 12 |
<reply> |
| 13 |
<servercmd> |
| 14 |
CAPA SMTPUTF8 |
| 15 |
</servercmd> |
| 16 |
</reply> |
| 17 |
|
| 18 |
# |
| 19 |
# Client-side |
| 20 |
<client> |
| 21 |
<server> |
| 22 |
smtp |
| 23 |
</server> |
| 24 |
<features> |
| 25 |
idn |
| 26 |
!win32 |
| 27 |
</features> |
| 28 |
<setenv> |
| 29 |
LC_ALL=en_US.UTF-8 |
| 30 |
LC_CTYPE=en_US.UTF-8 |
| 31 |
</setenv> |
| 32 |
<precheck> |
| 33 |
perl -MI18N::Langinfo=langinfo,CODESET -e 'die "Needs a UTF-8 locale" if (lc(langinfo(CODESET())) ne "utf-8");' |
| 34 |
</precheck> |
| 35 |
<name> |
| 36 |
SMTP VRFY with SMTPUTF8 support |
| 37 |
</name> |
| 38 |
<command> |
| 39 |
smtp://%HOSTIP:%SMTPPORT/968 --mail-rcpt Användaren |
| 40 |
</command> |
| 41 |
</client> |
| 42 |
|
| 43 |
# |
| 44 |
# Verify data after the test has been "shot" |
| 45 |
<verify> |
| 46 |
<protocol> |
| 47 |
EHLO 968 |
| 48 |
VRFY Användaren SMTPUTF8 |
| 49 |
QUIT |
| 50 |
</protocol> |
| 51 |
</verify> |
| 52 |
</testcase> |