2
0

test806 696 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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 220 AUTH LOGIN
  14. REPLY AUTH 334 UGFzc3dvcmQ6
  15. REPLY MTIzNA== 235 Authenticated
  16. </servercmd>
  17. </reply>
  18. #
  19. # Client-side
  20. <client>
  21. <server>
  22. smtp
  23. </server>
  24. <name>
  25. SMTP login authentication
  26. </name>
  27. <stdin>
  28. mail body
  29. </stdin>
  30. <command>
  31. smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 806@foo --mail-from 806@from -u test:1234 -T -
  32. </command>
  33. </client>
  34. #
  35. # Verify data after the test has been "shot"
  36. <verify>
  37. <protocol>
  38. EHLO user
  39. AUTH LOGIN dGVzdA==
  40. MTIzNA==
  41. MAIL FROM:<806@from>
  42. RCPT TO:<806@foo>
  43. DATA
  44. QUIT
  45. </protocol>
  46. <upload>
  47. mail body
  48. .
  49. </upload>
  50. </verify>
  51. </testcase>