| <?xml version="1.0" encoding="US-ASCII"?> |
| <testcase> |
| <info> |
| <keywords> |
| SMTP |
| </keywords> |
| </info> |
| |
| # Server-side |
| <reply> |
| </reply> |
| |
| # Client-side |
| <client> |
| <server> |
| smtp |
| </server> |
| <name> |
| SMTP with CRLF-dot-CRLF in data |
| </name> |
| <stdin crlf="yes"> |
| From: different |
| To: another |
| |
| |
| . |
| . |
| |
| . |
| |
| body |
| </stdin> |
| <command> |
| smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -T - |
| </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> |