test932 862 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <testcase>
  2. <info>
  3. <keywords>
  4. SMTP
  5. SASL
  6. SASL AUTH CRAM-MD5
  7. SASL CANCELLATION
  8. RFC2195
  9. RFC4954
  10. </keywords>
  11. </info>
  12. #
  13. # Server-side
  14. <reply>
  15. <servercmd>
  16. AUTH CRAM-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. crypto
  29. </features>
  30. <name>
  31. SMTP CRAM-MD5 graceful cancellation
  32. </name>
  33. <command>
  34. smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
  35. </command>
  36. </client>
  37. #
  38. # Verify data after the test has been "shot"
  39. <verify>
  40. # 67 - CURLE_LOGIN_DENIED
  41. <errorcode>
  42. 67
  43. </errorcode>
  44. #
  45. # The multi interface considers a broken "CONNECT" as a prematurely broken
  46. # transfer and such a connection will not get a "QUIT"
  47. <protocol>
  48. EHLO %TESTNUMBER
  49. AUTH CRAM-MD5
  50. *
  51. </protocol>
  52. </verify>
  53. </testcase>