test907 714 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <testcase>
  2. <info>
  3. <keywords>
  4. SMTP
  5. SMTP AUTH PLAIN SASL-IR
  6. RFC4616
  7. RFC4954
  8. </keywords>
  9. </info>
  10. #
  11. # Server-side
  12. <reply>
  13. <servercmd>
  14. REPLY EHLO 250 AUTH PLAIN
  15. REPLY AUTH 235 Authenticated
  16. </servercmd>
  17. </reply>
  18. #
  19. # Client-side
  20. <client>
  21. <server>
  22. smtp
  23. </server>
  24. <name>
  25. SMTP plain authentication with initial response
  26. </name>
  27. <stdin>
  28. mail body
  29. </stdin>
  30. <command>
  31. smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 907@foo --mail-from 907@from -u test:1234 --sasl-ir -T -
  32. </command>
  33. </client>
  34. #
  35. # Verify data after the test has been "shot"
  36. <verify>
  37. <protocol>
  38. EHLO user
  39. AUTH PLAIN dGVzdAB0ZXN0ADEyMzQ=
  40. MAIL FROM:<907@from>
  41. RCPT TO:<907@foo>
  42. DATA
  43. QUIT
  44. </protocol>
  45. <upload>
  46. mail body
  47. .
  48. </upload>
  49. </verify>
  50. </testcase>