test941 (1098B)
1 <testcase> 2 <info> 3 <keywords> 4 SMTP 5 --crlf 6 </keywords> 7 </info> 8 9 # 10 # Server-side 11 <reply> 12 </reply> 13 14 # 15 # Client-side 16 <client> 17 <server> 18 smtp 19 </server> 20 <name> 21 SMTP with --crlf 22 </name> 23 <file name="%LOGDIR/upload%TESTNUMBER"> 24 From: different 25 To: another 26 27 email 28 headers and body 29 with Unix newlines 30 meant to be 31 converted 32 with 33 the 34 --crlf option 35 %repeat[650 x 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789%0a]% 36 </file> 37 <command> 38 smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -T %LOGDIR/upload%TESTNUMBER --crlf 39 </command> 40 </client> 41 42 # 43 # Verify data after the test has been "shot" 44 <verify> 45 <protocol> 46 EHLO %TESTNUMBER 47 MAIL FROM:<sender@example.com> 48 RCPT TO:<recipient@example.com> 49 DATA 50 QUIT 51 </protocol> 52 <upload> 53 From: different 54 To: another 55 56 email 57 headers and body 58 with Unix newlines 59 meant to be 60 converted 61 with 62 the 63 --crlf option 64 %repeat[650 x 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789%0a]% 65 . 66 </upload> 67 </verify> 68 </testcase>