test980 871 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <testcase>
  2. <info>
  3. <keywords>
  4. SMTP
  5. STARTTLS
  6. </keywords>
  7. </info>
  8. #
  9. # Server-side
  10. <reply>
  11. <servercmd>
  12. CAPA STARTTLS
  13. AUTH PLAIN
  14. REPLY STARTTLS 454 currently unavailable\r\n235 Authenticated\r\n250 2.1.0 Sender ok\r\n250 2.1.5 Recipient ok\r\n354 Enter mail\r\n250 2.0.0 Accepted
  15. REPLY AUTH 535 5.7.8 Authentication credentials invalid
  16. </servercmd>
  17. </reply>
  18. #
  19. # Client-side
  20. <client>
  21. <features>
  22. SSL
  23. </features>
  24. <server>
  25. smtp
  26. </server>
  27. <name>
  28. SMTP STARTTLS pipelined server response
  29. </name>
  30. <stdin>
  31. mail body
  32. </stdin>
  33. <command>
  34. smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret --ssl --sasl-ir -T -
  35. </command>
  36. </client>
  37. #
  38. # Verify data after the test has been "shot"
  39. <verify>
  40. # 8 is CURLE_WEIRD_SERVER_REPLY
  41. <errorcode>
  42. 8
  43. </errorcode>
  44. <protocol>
  45. EHLO %TESTNUMBER
  46. STARTTLS
  47. </protocol>
  48. </verify>
  49. </testcase>