test980 (871B)
1 <testcase> 2 <info> 3 <keywords> 4 SMTP 5 STARTTLS 6 </keywords> 7 </info> 8 9 # 10 # Server-side 11 <reply> 12 <servercmd> 13 CAPA STARTTLS 14 AUTH PLAIN 15 REPLY STARTTLS 454 currently unavailable\r\n235 Authenticated\r\n250 2.1.0 Sender ok\r\n250 2.1.5 Recipient ok\r\n354 Enter mail\r\n250 2.0.0 Accepted 16 REPLY AUTH 535 5.7.8 Authentication credentials invalid 17 </servercmd> 18 </reply> 19 20 # 21 # Client-side 22 <client> 23 <features> 24 SSL 25 </features> 26 <server> 27 smtp 28 </server> 29 <name> 30 SMTP STARTTLS pipelined server response 31 </name> 32 <stdin> 33 mail body 34 </stdin> 35 <command> 36 smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret --ssl --sasl-ir -T - 37 </command> 38 </client> 39 40 # 41 # Verify data after the test has been "shot" 42 <verify> 43 # 8 is CURLE_WEIRD_SERVER_REPLY 44 <errorcode> 45 8 46 </errorcode> 47 <protocol> 48 EHLO %TESTNUMBER 49 STARTTLS 50 </protocol> 51 </verify> 52 </testcase>