test872 673 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <testcase>
  2. <info>
  3. <keywords>
  4. POP3
  5. SASL
  6. SASL AUTH LOGIN
  7. SASL-IR
  8. RFC1734
  9. RFC5034
  10. </keywords>
  11. </info>
  12. #
  13. # Server-side
  14. <reply>
  15. <servercmd>
  16. AUTH LOGIN
  17. REPLY AUTH + UGFzc3dvcmQ6
  18. REPLY c2VjcmV0 +OK Login successful
  19. </servercmd>
  20. <data>
  21. From: me@somewhere
  22. To: fake@nowhere
  23. body
  24. --
  25. yours sincerely
  26. </data>
  27. </reply>
  28. #
  29. # Client-side
  30. <client>
  31. <server>
  32. pop3
  33. </server>
  34. <name>
  35. POP3 login authentication with initial response
  36. </name>
  37. <command>
  38. pop3://%HOSTIP:%POP3PORT/872 -u user:secret --sasl-ir
  39. </command>
  40. </client>
  41. #
  42. # Verify data after the test has been "shot"
  43. <verify>
  44. <protocol>
  45. CAPA
  46. AUTH LOGIN dXNlcg==
  47. c2VjcmV0
  48. RETR 872
  49. QUIT
  50. </protocol>
  51. </verify>
  52. </testcase>