test838 726 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <testcase>
  2. <info>
  3. <keywords>
  4. IMAP
  5. SASL
  6. SASL AUTH EXTERNAL
  7. RFC4422
  8. </keywords>
  9. </info>
  10. #
  11. # Server-side
  12. <reply>
  13. <servercmd>
  14. AUTH EXTERNAL
  15. REPLY AUTHENTICATE +
  16. REPLY = 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 external authentication without credentials
  34. </name>
  35. <command>
  36. 'imap://;AUTH=EXTERNAL@%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1'
  37. </command>
  38. </client>
  39. #
  40. # Verify data after the test has been "shot"
  41. <verify>
  42. <protocol>
  43. A001 CAPABILITY
  44. A002 AUTHENTICATE EXTERNAL
  45. =
  46. A003 SELECT %TESTNUMBER
  47. A004 FETCH 1 BODY[]
  48. A005 LOGOUT
  49. </protocol>
  50. </verify>
  51. </testcase>