lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | <testcase> |
| 2 | # Based off test 901 after bug report #1456 |
| 3 | <info> |
| 4 | <keywords> |
| 5 | SMTP |
| 6 | </keywords> |
| 7 | </info> |
| 8 | |
| 9 | # |
| 10 | # Client-side |
| 11 | <client> |
| 12 | <server> |
| 13 | smtp |
| 14 | </server> |
| 15 | <tool> |
| 16 | lib1520 |
| 17 | </tool> |
| 18 | |
| 19 | <name> |
| 20 | SMTP with CRLF-dot-CRLF in data |
| 21 | </name> |
| 22 | <stdin> |
| 23 | From: different
|
| 24 | To: another
|
| 25 |
|
| 26 |
|
| 27 | .
|
| 28 | .
|
| 29 |
|
| 30 | .
|
| 31 |
|
| 32 | body
|
| 33 | </stdin> |
| 34 | <command> |
| 35 | smtp://%HOSTIP:%SMTPPORT/1520 |
| 36 | </command> |
| 37 | </client> |
| 38 | |
| 39 | # |
| 40 | # Verify data after the test has been "shot" |
| 41 | <verify> |
| 42 | <protocol> |
| 43 | EHLO 1520
|
| 44 | MAIL FROM:<sender@example.com>
|
| 45 | RCPT TO:<recipient@example.com>
|
| 46 | DATA
|
| 47 | QUIT
|
| 48 | </protocol> |
| 49 | <upload> |
| 50 | From: different
|
| 51 | To: another
|
| 52 |
|
| 53 |
|
| 54 | ..
|
| 55 | ..
|
| 56 |
|
| 57 | ..
|
| 58 |
|
| 59 | body
|
| 60 | .
|
| 61 | </upload> |
| 62 | </verify> |
| 63 | </testcase> |