test941 819 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <testcase>
  2. <info>
  3. <keywords>
  4. SMTP
  5. --crlf
  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. <name>
  19. SMTP with --crlf
  20. </name>
  21. <file name="log/upload941">
  22. From: different
  23. To: another
  24. email
  25. headers and body
  26. with unix newlines
  27. meant to be
  28. converted
  29. with
  30. the
  31. --crlf option
  32. </file>
  33. <command>
  34. smtp://%HOSTIP:%SMTPPORT/941 --mail-rcpt recipient@example.com --mail-from sender@example.com -T log/upload941 --crlf
  35. </command>
  36. </client>
  37. #
  38. # Verify data after the test has been "shot"
  39. <verify>
  40. <protocol>
  41. EHLO 941
  42. MAIL FROM:<sender@example.com>
  43. RCPT TO:<recipient@example.com>
  44. DATA
  45. QUIT
  46. </protocol>
  47. <upload>
  48. From: different
  49. To: another
  50. email
  51. headers and body
  52. with unix newlines
  53. meant to be
  54. converted
  55. with
  56. the
  57. --crlf option
  58. .
  59. </upload>
  60. </verify>
  61. </testcase>