test960 885 B

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