xref: /curl/tests/data/test982 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4POP3
5STARTTLS
6</keywords>
7</info>
8
9#
10# Server-side
11<reply>
12<servercmd>
13CAPA STLS USER
14REPLY STLS -ERR currently unavailable\r\n+OK user accepted\r\n+OK authenticated
15REPLY PASS -ERR Authentication credentials invalid
16</servercmd>
17<data nocheck="yes">
18From: me@somewhere
19To: fake@nowhere
20
21body
22
23--
24  yours sincerely
25</data>
26</reply>
27
28#
29# Client-side
30<client>
31<features>
32SSL
33</features>
34<server>
35pop3
36</server>
37<name>
38POP3 STARTTLS pipelined server response
39</name>
40<command>
41pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret --ssl
42 </command>
43</client>
44
45#
46# Verify data after the test has been "shot"
47<verify>
48# 8 is CURLE_WEIRD_SERVER_REPLY
49<errorcode>
508
51</errorcode>
52<protocol>
53CAPA
54STLS
55</protocol>
56</verify>
57</testcase>
58