test914 669 B

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