test968 705 B

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