test934 885 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <testcase>
  2. <info>
  3. <keywords>
  4. SMTP
  5. SASL
  6. SASL AUTH DIGEST-MD5
  7. SASL CANCELLATION
  8. RFC2831
  9. RFC4954
  10. </keywords>
  11. </info>
  12. #
  13. # Server-side
  14. <reply>
  15. <servercmd>
  16. AUTH DIGEST-MD5
  17. REPLY AUTH 334 Rubbish
  18. REPLY * 501 AUTH exchange cancelled by client
  19. </servercmd>
  20. </reply>
  21. #
  22. # Client-side
  23. <client>
  24. <server>
  25. smtp
  26. </server>
  27. <features>
  28. !SSPI
  29. debug
  30. crypto
  31. </features>
  32. <name>
  33. SMTP DIGEST-MD5 graceful cancellation
  34. </name>
  35. <command>
  36. smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
  37. </command>
  38. </client>
  39. #
  40. # Verify data after the test has been "shot"
  41. <verify>
  42. # 67 - CURLE_LOGIN_DENIED
  43. <errorcode>
  44. 67
  45. </errorcode>
  46. #
  47. # The multi interface considers a broken "CONNECT" as a prematurely broken
  48. # transfer and such a connection will not get a "QUIT"
  49. <protocol>
  50. EHLO %TESTNUMBER
  51. AUTH DIGEST-MD5
  52. *
  53. </protocol>
  54. </verify>
  55. </testcase>