| <?xml version="1.0" encoding="US-ASCII"?> |
| <testcase> |
| # Based off test 901 after bug report #1456 |
| <info> |
| <keywords> |
| SMTP |
| </keywords> |
| </info> |
| |
| # Client-side |
| <client> |
| <server> |
| smtp |
| </server> |
| <tool> |
| lib%TESTNUMBER |
| </tool> |
| |
| <name> |
| SMTP with CRLF-dot-CRLF in upload payload |
| </name> |
| <stdin crlf="yes"> |
| From: different |
| To: another |
| |
| |
| . |
| . |
| |
| . |
| |
| body |
| </stdin> |
| <command> |
| smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER |
| </command> |
| </client> |
| |
| # Verify data after the test has been "shot" |
| <verify> |
| <protocol crlf="yes"> |
| EHLO %TESTNUMBER |
| MAIL FROM:%LTsender@example.com%GT |
| RCPT TO:%LTrecipient@example.com%GT |
| DATA |
| QUIT |
| </protocol> |
| <upload crlf="yes"> |
| From: different |
| To: another |
| |
| |
| .. |
| .. |
| |
| .. |
| |
| body |
| . |
| </upload> |
| </verify> |
| </testcase> |