test982 756 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <testcase>
  2. <info>
  3. <keywords>
  4. POP3
  5. STARTTLS
  6. </keywords>
  7. </info>
  8. #
  9. # Server-side
  10. <reply>
  11. <servercmd>
  12. CAPA STLS USER
  13. REPLY STLS -ERR currently unavailable\r\n+OK user accepted\r\n+OK authenticated
  14. REPLY PASS -ERR Authentication credentials invalid
  15. </servercmd>
  16. <data nocheck="yes">
  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. <features>
  28. SSL
  29. </features>
  30. <server>
  31. pop3
  32. </server>
  33. <name>
  34. POP3 STARTTLS pipelined server response
  35. </name>
  36. <command>
  37. pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret --ssl
  38. </command>
  39. </client>
  40. #
  41. # Verify data after the test has been "shot"
  42. <verify>
  43. # 8 is CURLE_WEIRD_SERVER_REPLY
  44. <errorcode>
  45. 8
  46. </errorcode>
  47. <protocol>
  48. CAPA
  49. STLS
  50. </protocol>
  51. </verify>
  52. </testcase>