test3006 863 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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 with multiple invalid (all) --mail-rcpt and --mail-rcpt-allowfails
  19. </name>
  20. <stdin>
  21. From: different
  22. To: another
  23. body
  24. </stdin>
  25. <command>
  26. smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt-allowfails --mail-rcpt invalid.one --mail-rcpt invalid.two --mail-rcpt invalid.three --mail-rcpt invalid.four --mail-rcpt invalid.five --mail-from sender@example.com -T -
  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 %TESTNUMBER
  38. MAIL FROM:<sender@example.com>
  39. RCPT TO:<invalid.one>
  40. RCPT TO:<invalid.two>
  41. RCPT TO:<invalid.three>
  42. RCPT TO:<invalid.four>
  43. RCPT TO:<invalid.five>
  44. QUIT
  45. </protocol>
  46. </verify>
  47. </testcase>