2
0

test865 651 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <testcase>
  2. <info>
  3. <keywords>
  4. POP3
  5. SASL
  6. SASL AUTH PLAIN
  7. RFC1734
  8. RFC4616
  9. RFC5034
  10. </keywords>
  11. </info>
  12. #
  13. # Server-side
  14. <reply>
  15. <servercmd>
  16. AUTH PLAIN
  17. REPLY AUTH +
  18. REPLY AHVzZXIAc2VjcmV0 +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 plain authentication
  36. </name>
  37. <command>
  38. pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret
  39. </command>
  40. </client>
  41. #
  42. # Verify data after the test has been "shot"
  43. <verify>
  44. <protocol>
  45. CAPA
  46. AUTH PLAIN
  47. AHVzZXIAc2VjcmV0
  48. RETR %TESTNUMBER
  49. QUIT
  50. </protocol>
  51. </verify>
  52. </testcase>