test820 734 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <testcase>
  2. <info>
  3. <keywords>
  4. IMAP
  5. SASL
  6. SASL AUTH LOGIN
  7. </keywords>
  8. </info>
  9. #
  10. # Server-side
  11. <reply>
  12. <servercmd>
  13. AUTH LOGIN
  14. REPLY AUTHENTICATE + VXNlcm5hbWU6
  15. REPLY dXNlcg== + UGFzc3dvcmQ6
  16. REPLY c2VjcmV0 A002 OK AUTHENTICATE completed
  17. </servercmd>
  18. <data>
  19. From: me@somewhere
  20. To: fake@nowhere
  21. body
  22. --
  23. yours sincerely
  24. </data>
  25. </reply>
  26. #
  27. # Client-side
  28. <client>
  29. <server>
  30. imap
  31. </server>
  32. <name>
  33. IMAP login authentication
  34. </name>
  35. <command>
  36. 'imap://%HOSTIP:%IMAPPORT/820/;UID=1' -u user:secret
  37. </command>
  38. </client>
  39. #
  40. # Verify data after the test has been "shot"
  41. <verify>
  42. <protocol>
  43. A001 CAPABILITY
  44. A002 AUTHENTICATE LOGIN
  45. dXNlcg==
  46. c2VjcmV0
  47. A003 SELECT 820
  48. A004 FETCH 1 BODY[]
  49. A005 LOGOUT
  50. </protocol>
  51. </verify>
  52. </testcase>