2
0

test912 733 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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
  13. </servercmd>
  14. </reply>
  15. #
  16. # Client-side
  17. <client>
  18. <server>
  19. smtp
  20. </server>
  21. <name>
  22. SMTP with SIZE support
  23. </name>
  24. <file name="%LOGDIR/test%TESTNUMBER.eml">
  25. From: different
  26. To: another
  27. body
  28. </file>
  29. <command>
  30. smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -T %LOGDIR/test%TESTNUMBER.eml
  31. </command>
  32. </client>
  33. #
  34. # Verify data after the test has been "shot"
  35. <verify>
  36. <protocol>
  37. EHLO %TESTNUMBER
  38. MAIL FROM:<sender@example.com> SIZE=38
  39. RCPT TO:<recipient@example.com>
  40. DATA
  41. QUIT
  42. </protocol>
  43. <upload>
  44. From: different
  45. To: another
  46. body
  47. .
  48. </upload>
  49. </verify>
  50. </testcase>