test913 (697B)
1 <testcase> 2 <info> 3 <keywords> 4 SMTP 5 SIZE 6 </keywords> 7 </info> 8 9 # 10 # Server-side 11 <reply> 12 <servercmd> 13 CAPA "SIZE 32" 14 </servercmd> 15 </reply> 16 17 # 18 # Client-side 19 <client> 20 <server> 21 smtp 22 </server> 23 <name> 24 SMTP with large message SIZE 25 </name> 26 <file name="%LOGDIR/test%TESTNUMBER.eml"> 27 From: different 28 To: another 29 30 body 31 </file> 32 <command> 33 smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -T %LOGDIR/test%TESTNUMBER.eml 34 </command> 35 </client> 36 37 # 38 # Verify data after the test has been "shot" 39 <verify> 40 # 55 - CURLE_SEND_ERROR 41 <errorcode> 42 55 43 </errorcode> 44 <protocol> 45 EHLO %TESTNUMBER 46 MAIL FROM:<sender@example.com> SIZE=38 47 QUIT 48 </protocol> 49 </verify> 50 </testcase>