test902 747 B

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