test901 671 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. <name>
  18. SMTP with CRLF-dot-CRLF in data
  19. </name>
  20. <stdin>
  21. From: different
  22. To: another
  23. .
  24. .
  25. .
  26. body
  27. </stdin>
  28. <command>
  29. smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -T -
  30. </command>
  31. </client>
  32. #
  33. # Verify data after the test has been "shot"
  34. <verify>
  35. <protocol>
  36. EHLO %TESTNUMBER
  37. MAIL FROM:<sender@example.com>
  38. RCPT TO:<recipient@example.com>
  39. DATA
  40. QUIT
  41. </protocol>
  42. <upload>
  43. From: different
  44. To: another
  45. ..
  46. ..
  47. ..
  48. body
  49. .
  50. </upload>
  51. </verify>
  52. </testcase>