test911 558 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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 no mail data
  19. </name>
  20. <stdin nonewline="yes">
  21. </stdin>
  22. <command>
  23. smtp://%HOSTIP:%SMTPPORT/911 --mail-rcpt recipient@example.com --mail-from sender@example.com -T -
  24. </command>
  25. </client>
  26. #
  27. # Verify data after the test has been "shot"
  28. <verify>
  29. <protocol>
  30. EHLO 911
  31. MAIL FROM:<sender@example.com>
  32. RCPT TO:<recipient@example.com>
  33. DATA
  34. QUIT
  35. </protocol>
  36. <upload>
  37. .
  38. </upload>
  39. </verify>
  40. </testcase>