xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | SMTP |
| 5 | </keywords> |
| 6 | </info> |
| 7 | |
| 8 | # |
| 9 | # Server-side |
| 10 | <reply> |
| 11 | </reply> |
| 12 | |
| 13 | # |
| 14 | # Client-side |
| 15 | <client> |
| 16 | <server> |
| 17 | smtp |
| 18 | </server> |
| 19 | <name> |
| 20 | SMTP with multiple and invalid (all but one) --mail-rcpt and --mail-rcpt-allowfails |
| 21 | </name> |
| 22 | <stdin> |
| 23 | From: different
|
| 24 | To: another
|
| 25 |
|
| 26 | body
|
| 27 | </stdin> |
| 28 | <command> |
| 29 | smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt-allowfails --mail-rcpt invalid.one --mail-rcpt recipient.two@example.com --mail-rcpt invalid.three --mail-rcpt invalid.four --mail-rcpt invalid.five --mail-from sender@example.com -T - |
| 30 | </command> |
| 31 | </client> |
| 32 | |
| 33 | # |
| 34 | # Verify data after the test has been "shot" |
| 35 | <verify> |
| 36 | <protocol> |
| 37 | EHLO %TESTNUMBER
|
| 38 | MAIL FROM:<sender@example.com>
|
| 39 | RCPT TO:<invalid.one>
|
| 40 | RCPT TO:<recipient.two@example.com>
|
| 41 | RCPT TO:<invalid.three>
|
| 42 | RCPT TO:<invalid.four>
|
| 43 | RCPT TO:<invalid.five>
|
| 44 | DATA
|
| 45 | QUIT
|
| 46 | </protocol> |
| 47 | <upload> |
| 48 | From: different
|
| 49 | To: another
|
| 50 |
|
| 51 | body
|
| 52 | .
|
| 53 | </upload> |
| 54 | </verify> |
| 55 | </testcase> |