2
0

test804 722 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <testcase>
  2. <info>
  3. <keywords>
  4. SMTP
  5. SMTP HELO
  6. RFC821
  7. </keywords>
  8. </info>
  9. #
  10. # Server-side
  11. <reply>
  12. <servercmd>
  13. REPLY EHLO 500 Command unrecognized
  14. REPLY HELO 250 Already old but still servicing...
  15. </servercmd>
  16. </reply>
  17. #
  18. # Client-side
  19. <client>
  20. <server>
  21. smtp
  22. </server>
  23. <name>
  24. RFC821-only SMTP server (EHLO not supported)
  25. </name>
  26. <stdin>
  27. From: different
  28. To: another
  29. body
  30. </stdin>
  31. <command>
  32. smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 804@foo --mail-from 804@from -T -
  33. </command>
  34. </client>
  35. #
  36. # Verify data after the test has been "shot"
  37. <verify>
  38. <protocol>
  39. EHLO user
  40. HELO user
  41. MAIL FROM:<804@from>
  42. RCPT TO:<804@foo>
  43. DATA
  44. QUIT
  45. </protocol>
  46. <upload>
  47. From: different
  48. To: another
  49. body
  50. .
  51. </upload>
  52. </verify>
  53. </testcase>