test981 (1060B)
1 <testcase> 2 <info> 3 <keywords> 4 IMAP 5 STARTTLS 6 </keywords> 7 </info> 8 9 # 10 # Server-side 11 <reply> 12 <servercmd> 13 CAPA STARTTLS 14 REPLY STARTTLS A002 BAD currently unavailable\r\nA003 OK Authenticated\r\nA004 OK Accepted 15 REPLY LOGIN A003 BAD Authentication credentials invalid 16 </servercmd> 17 </reply> 18 19 # 20 # Client-side 21 <client> 22 <features> 23 SSL 24 </features> 25 <server> 26 imap 27 </server> 28 <name> 29 IMAP STARTTLS pipelined server response 30 </name> 31 <command> 32 imap://%HOSTIP:%IMAPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER -u user:secret --ssl 33 </command> 34 <file name="%LOGDIR/upload%TESTNUMBER"> 35 Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST) 36 From: Fred Foobar <foobar@example.COM> 37 Subject: afternoon meeting 38 To: joe@example.com 39 Message-Id: <B27397-0100000@example.COM> 40 MIME-Version: 1.0 41 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII 42 43 Hello Joe, do you think we can meet at 3:30 tomorrow? 44 </file> 45 </client> 46 47 # 48 # Verify data after the test has been "shot" 49 <verify> 50 # 8 is CURLE_WEIRD_SERVER_REPLY 51 <errorcode> 52 8 53 </errorcode> 54 <protocol> 55 A001 CAPABILITY 56 A002 STARTTLS 57 </protocol> 58 </verify> 59 </testcase>