test1520 639 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <testcase>
  2. # Based off test 901 after bug report #1456
  3. <info>
  4. <keywords>
  5. SMTP
  6. </keywords>
  7. </info>
  8. #
  9. # Client-side
  10. <client>
  11. <server>
  12. smtp
  13. </server>
  14. <tool>
  15. lib%TESTNUMBER
  16. </tool>
  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
  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>