test956 899 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. !win32
  19. </features>
  20. <setenv>
  21. LC_ALL=en_US.UTF-8
  22. LC_CTYPE=en_US.UTF-8
  23. </setenv>
  24. <precheck>
  25. perl -MI18N::Langinfo=langinfo,CODESET -e 'die "Needs a UTF-8 locale" if (lc(langinfo(CODESET())) ne "utf-8");'
  26. </precheck>
  27. <name>
  28. SMTP without SMTPUTF8 support - UTF-8 based recipient (local part only)
  29. </name>
  30. <stdin>
  31. From: different
  32. To: another
  33. body
  34. </stdin>
  35. <command>
  36. smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt Stödmottagaren@example.com --mail-from sender@example.com -T -
  37. </command>
  38. </client>
  39. #
  40. # Verify data after the test has been "shot"
  41. <verify>
  42. # 55 - CURLE_SEND_ERROR
  43. <errorcode>
  44. 55
  45. </errorcode>
  46. <protocol>
  47. EHLO %TESTNUMBER
  48. MAIL FROM:<sender@example.com>
  49. RCPT TO:<Stödmottagaren@example.com>
  50. QUIT
  51. </protocol>
  52. </verify>
  53. </testcase>