xref: /curl/tests/data/test985 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4POP3
5STARTTLS
6</keywords>
7</info>
8
9#
10# Server-side
11<reply>
12<servercmd>
13REPLY CAPA -ERR Not implemented
14</servercmd>
15<data nocheck="yes">
16From: me@somewhere
17To: fake@nowhere
18
19body
20
21--
22  yours sincerely
23</data>
24</reply>
25
26#
27# Client-side
28<client>
29<features>
30SSL
31</features>
32<server>
33pop3
34</server>
35<name>
36POP3 require STARTTLS with failing capabilities
37</name>
38<command>
39pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret --ssl-reqd
40 </command>
41</client>
42
43#
44# Verify data after the test has been "shot"
45<verify>
46# 64 is CURLE_USE_SSL_FAILED
47<errorcode>
4864
49</errorcode>
50<protocol>
51CAPA
52</protocol>
53</verify>
54</testcase>
55