test985 649 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <testcase>
  2. <info>
  3. <keywords>
  4. POP3
  5. STARTTLS
  6. </keywords>
  7. </info>
  8. #
  9. # Server-side
  10. <reply>
  11. <servercmd>
  12. REPLY CAPA -ERR Not implemented
  13. </servercmd>
  14. <data nocheck="yes">
  15. From: me@somewhere
  16. To: fake@nowhere
  17. body
  18. --
  19. yours sincerely
  20. </data>
  21. </reply>
  22. #
  23. # Client-side
  24. <client>
  25. <features>
  26. SSL
  27. </features>
  28. <server>
  29. pop3
  30. </server>
  31. <name>
  32. POP3 require STARTTLS with failing capabilities
  33. </name>
  34. <command>
  35. pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret --ssl-reqd
  36. </command>
  37. </client>
  38. #
  39. # Verify data after the test has been "shot"
  40. <verify>
  41. # 64 is CURLE_USE_SSL_FAILED
  42. <errorcode>
  43. 64
  44. </errorcode>
  45. <protocol>
  46. CAPA
  47. </protocol>
  48. </verify>
  49. </testcase>