test939 694 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <testcase>
  2. <info>
  3. <keywords>
  4. SMTP
  5. RFC821
  6. </keywords>
  7. </info>
  8. #
  9. # Server-side
  10. <reply>
  11. <servercmd>
  12. REPLY EHLO 500 Command unrecognized
  13. </servercmd>
  14. </reply>
  15. #
  16. # Client-side
  17. <client>
  18. <server>
  19. smtp
  20. </server>
  21. <name>
  22. RFC821-only SMTP with username and password
  23. </name>
  24. <stdin>
  25. mail body
  26. </stdin>
  27. <command>
  28. smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
  29. </command>
  30. </client>
  31. #
  32. # Verify data after the test has been "shot"
  33. <verify>
  34. <protocol>
  35. EHLO %TESTNUMBER
  36. HELO %TESTNUMBER
  37. MAIL FROM:<sender@example.com>
  38. RCPT TO:<recipient@example.com>
  39. DATA
  40. QUIT
  41. </protocol>
  42. <upload>
  43. mail body
  44. .
  45. </upload>
  46. </verify>
  47. </testcase>