test914 581 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <testcase>
  2. <info>
  3. <keywords>
  4. SMTP
  5. </keywords>
  6. </info>
  7. #
  8. # Server-side
  9. <reply>
  10. </reply>
  11. #
  12. # Client-side
  13. <client>
  14. <server>
  15. smtp
  16. </server>
  17. <name>
  18. SMTP invalid --mail-from
  19. </name>
  20. <file name="log/test914.eml">
  21. From: different
  22. To: another
  23. body
  24. </file>
  25. <command>
  26. smtp://%HOSTIP:%SMTPPORT/914 --mail-rcpt recipient@example.com --mail-from invalid -T log/test914.eml
  27. </command>
  28. </client>
  29. #
  30. # Verify data after the test has been "shot"
  31. <verify>
  32. # 55 - CURLE_SEND_ERROR
  33. <errorcode>
  34. 55
  35. </errorcode>
  36. <protocol>
  37. EHLO 914
  38. MAIL FROM:<invalid>
  39. QUIT
  40. </protocol>
  41. </verify>
  42. </testcase>