test839 749 B

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