lh | 9ed821d | 2023-04-07 01:36:19 -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 username and password but no AUTH capability |
| 21 | </name> |
| 22 | <stdin> |
| 23 | mail body
|
| 24 | </stdin> |
| 25 | <command> |
| 26 | smtp://%HOSTIP:%SMTPPORT/940 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T - |
| 27 | </command> |
| 28 | </client> |
| 29 | |
| 30 | # |
| 31 | # Verify data after the test has been "shot" |
| 32 | <verify> |
| 33 | <protocol> |
| 34 | EHLO 940
|
| 35 | MAIL FROM:<sender@example.com>
|
| 36 | RCPT TO:<recipient@example.com>
|
| 37 | DATA
|
| 38 | QUIT
|
| 39 | </protocol> |
| 40 | <upload> |
| 41 | mail body
|
| 42 | .
|
| 43 | </upload> |
| 44 | </verify> |
| 45 | </testcase> |