test904 733 B

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