test945 780 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <testcase>
  2. <info>
  3. <keywords>
  4. SMTP
  5. SASL
  6. SASL AUTH EXTERNAL
  7. SASL-IR
  8. RFC4422
  9. RFC4954
  10. </keywords>
  11. </info>
  12. #
  13. # Server-side
  14. <reply>
  15. <servercmd>
  16. AUTH EXTERNAL
  17. REPLY AUTH 235 Authenticated
  18. </servercmd>
  19. </reply>
  20. #
  21. # Client-side
  22. <client>
  23. <server>
  24. smtp
  25. </server>
  26. <name>
  27. SMTP external authentication with initial response without credentials
  28. </name>
  29. <stdin>
  30. mail body
  31. </stdin>
  32. <command>
  33. 'smtp://;AUTH=EXTERNAL@%HOSTIP:%SMTPPORT/%TESTNUMBER' --mail-rcpt recipient@example.com --mail-from sender@example.com --sasl-ir -T -
  34. </command>
  35. </client>
  36. #
  37. # Verify data after the test has been "shot"
  38. <verify>
  39. <protocol>
  40. EHLO %TESTNUMBER
  41. AUTH EXTERNAL =
  42. MAIL FROM:<sender@example.com>
  43. RCPT TO:<recipient@example.com>
  44. DATA
  45. QUIT
  46. </protocol>
  47. <upload>
  48. mail body
  49. .
  50. </upload>
  51. </verify>
  52. </testcase>