test984 931 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <testcase>
  2. <info>
  3. <keywords>
  4. IMAP
  5. STARTTLS
  6. </keywords>
  7. </info>
  8. #
  9. # Server-side
  10. <reply>
  11. <servercmd>
  12. REPLY CAPABILITY A001 BAD Not implemented
  13. </servercmd>
  14. </reply>
  15. #
  16. # Client-side
  17. <client>
  18. <features>
  19. SSL
  20. </features>
  21. <server>
  22. imap
  23. </server>
  24. <name>
  25. IMAP require STARTTLS with failing capabilities
  26. </name>
  27. <command>
  28. imap://%HOSTIP:%IMAPPORT/%TESTNUMBER -T log/upload%TESTNUMBER -u user:secret --ssl-reqd
  29. </command>
  30. <file name="log/upload%TESTNUMBER">
  31. Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST)
  32. From: Fred Foobar <[email protected]>
  33. Subject: afternoon meeting
  34. To: [email protected]
  35. Message-Id: <[email protected]>
  36. MIME-Version: 1.0
  37. Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
  38. Hello Joe, do you think we can meet at 3:30 tomorrow?
  39. </file>
  40. </client>
  41. #
  42. # Verify data after the test has been "shot"
  43. <verify>
  44. # 64 is CURLE_USE_SSL_FAILED
  45. <errorcode>
  46. 64
  47. </errorcode>
  48. <protocol>
  49. A001 CAPABILITY
  50. </protocol>
  51. </verify>
  52. </testcase>