test913 660 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <testcase>
  2. <info>
  3. <keywords>
  4. SMTP
  5. SIZE
  6. </keywords>
  7. </info>
  8. #
  9. # Server-side
  10. <reply>
  11. <servercmd>
  12. CAPA "SIZE 32"
  13. </servercmd>
  14. </reply>
  15. #
  16. # Client-side
  17. <client>
  18. <server>
  19. smtp
  20. </server>
  21. <name>
  22. SMTP with large message SIZE
  23. </name>
  24. <file name="log/test913.eml">
  25. From: different
  26. To: another
  27. body
  28. </file>
  29. <command>
  30. smtp://%HOSTIP:%SMTPPORT/913 --mail-rcpt recipient@example.com --mail-from sender@example.com -T log/test913.eml
  31. </command>
  32. </client>
  33. #
  34. # Verify data after the test has been "shot"
  35. <verify>
  36. # 55 - CURLE_SEND_ERROR
  37. <errorcode>
  38. 55
  39. </errorcode>
  40. <protocol>
  41. EHLO 913
  42. MAIL FROM:<sender@example.com> SIZE=38
  43. QUIT
  44. </protocol>
  45. </verify>
  46. </testcase>