test881 874 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <testcase>
  2. <info>
  3. <keywords>
  4. POP3
  5. SASL
  6. SASL AUTH DIGEST-MD5
  7. SASL AUTH PLAIN
  8. SASL DOWNGRADE
  9. RFC1734
  10. RFC2831
  11. RFC5034
  12. </keywords>
  13. </info>
  14. #
  15. # Server-side
  16. <reply>
  17. <servercmd>
  18. AUTH DIGEST-MD5 PLAIN
  19. REPLY "AUTH DIGEST-MD5" + Rubbish
  20. REPLY * -ERR AUTH exchange cancelled by client
  21. REPLY "AUTH PLAIN" +
  22. REPLY dXNlcgB1c2VyAHNlY3JldA== +OK Login successful
  23. </servercmd>
  24. <data>
  25. From: me@somewhere
  26. To: fake@nowhere
  27. body
  28. --
  29. yours sincerely
  30. </data>
  31. </reply>
  32. #
  33. # Client-side
  34. <client>
  35. <server>
  36. pop3
  37. </server>
  38. <features>
  39. !SSPI
  40. debug
  41. crypto
  42. </features>
  43. <name>
  44. POP3 DIGEST-MD5 authentication with SASL downgrade
  45. </name>
  46. <command>
  47. pop3://%HOSTIP:%POP3PORT/881 -u user:secret
  48. </command>
  49. </client>
  50. #
  51. # Verify data after the test has been "shot"
  52. <verify>
  53. <protocol>
  54. CAPA
  55. AUTH DIGEST-MD5
  56. *
  57. AUTH PLAIN
  58. dXNlcgB1c2VyAHNlY3JldA==
  59. RETR 881
  60. QUIT
  61. </protocol>
  62. </verify>
  63. </testcase>