test955 917 B

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