2
0

test963 922 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <testcase>
  2. <info>
  3. <keywords>
  4. SMTP
  5. IDN
  6. </keywords>
  7. </info>
  8. #
  9. # Server-side
  10. <reply>
  11. </reply>
  12. #
  13. # Client-side
  14. <client>
  15. <server>
  16. smtp
  17. </server>
  18. <features>
  19. idn
  20. !win32
  21. </features>
  22. <setenv>
  23. LC_ALL=en_US.UTF-8
  24. LC_CTYPE=en_US.UTF-8
  25. </setenv>
  26. <precheck>
  27. perl -MI18N::Langinfo=langinfo,CODESET -e 'die "Needs a UTF-8 locale" if (lc(langinfo(CODESET())) ne "utf-8");'
  28. </precheck>
  29. <name>
  30. SMTP without SMTPUTF8 support (IDN Enabked) - UTF-8 based recipient (host part only)
  31. </name>
  32. <stdin>
  33. From: different
  34. To: another
  35. body
  36. </stdin>
  37. <command>
  38. smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@åäö.se --mail-from sender@example.com -T -
  39. </command>
  40. </client>
  41. #
  42. # Verify data after the test has been "shot"
  43. <verify>
  44. <protocol>
  45. EHLO %TESTNUMBER
  46. MAIL FROM:<sender@example.com>
  47. RCPT TO:<recipient@xn--4cab6c.se>
  48. DATA
  49. QUIT
  50. </protocol>
  51. <upload>
  52. From: different
  53. To: another
  54. body
  55. .
  56. </upload>
  57. </verify>
  58. </testcase>