test882 727 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <testcase>
  2. <info>
  3. <keywords>
  4. POP3
  5. Clear Text
  6. RETR
  7. connection re-use
  8. </keywords>
  9. </info>
  10. #
  11. # Server-side
  12. <reply>
  13. <servercmd>
  14. REPLY "PASS secret" +OK Login successful
  15. </servercmd>
  16. <data>
  17. From: me@somewhere
  18. To: fake@nowhere
  19. body
  20. --
  21. yours sincerely
  22. </data>
  23. </reply>
  24. #
  25. # Client-side
  26. <client>
  27. <server>
  28. pop3
  29. </server>
  30. <name>
  31. POP3 multiple connection authentication
  32. </name>
  33. <command>
  34. pop3://%HOSTIP:%POP3PORT/882001 -u user.one:secret -: pop3://%HOSTIP:%POP3PORT/882002 -u user.two:secret
  35. </command>
  36. </client>
  37. #
  38. # Verify data after the test has been "shot"
  39. <verify>
  40. <protocol>
  41. CAPA
  42. USER user.one
  43. PASS secret
  44. RETR 882001
  45. QUIT
  46. CAPA
  47. USER user.two
  48. PASS secret
  49. RETR 882002
  50. QUIT
  51. </protocol>
  52. </verify>
  53. </testcase>