2
0

test959 905 B

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