test967 795 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. <data>
  16. 252 Send some mail and I'll try my best
  17. </data>
  18. </reply>
  19. #
  20. # Client-side
  21. <client>
  22. <server>
  23. smtp
  24. </server>
  25. <features>
  26. idn
  27. !win32
  28. </features>
  29. <setenv>
  30. LC_ALL=en_US.UTF-8
  31. LC_CTYPE=en_US.UTF-8
  32. </setenv>
  33. <precheck>
  34. perl -MI18N::Langinfo=langinfo,CODESET -e 'die "Needs a UTF-8 locale" if (lc(langinfo(CODESET())) ne "utf-8");'
  35. </precheck>
  36. <name>
  37. SMTP external VRFY with SMTPUTF8 support
  38. </name>
  39. <command>
  40. smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt Användaren@åäö.se
  41. </command>
  42. </client>
  43. #
  44. # Verify data after the test has been "shot"
  45. <verify>
  46. <protocol>
  47. EHLO %TESTNUMBER
  48. VRFY Användaren@xn--4cab6c.se SMTPUTF8
  49. QUIT
  50. </protocol>
  51. </verify>
  52. </testcase>