ebdebd671dbfeefe894ea161dfdef49c73865206
[platform/upstream/curl.git] / tests / data / test864
1 <testcase>
2 <info>
3 <keywords>
4 POP3
5 APOP
6 </keywords>
7 </info>
8
9 #
10 # Server-side
11 <reply>
12 <servercmd>
13 CAPA APOP
14 REPLY welcome +OK curl POP3 server ready to serve <1972.987654321\@curl>
15 </servercmd>
16 <data>
17 From: me@somewhere\r
18 To: fake@nowhere\r
19 \r
20 body\r
21 \r
22 --\r
23   yours sincerely\r
24 </data>
25 </reply>
26
27 #
28 # Client-side
29 <client>
30 <server>
31 pop3
32 </server>
33 <features>
34 crypto
35 </features>
36  <name>
37 POP3 APOP authentication
38  </name>
39  <command>
40 pop3://%HOSTIP:%POP3PORT/864 -u user:secret
41 </command>
42 </client>
43
44 #
45 # Verify data after the test has been "shot"
46 <verify>
47 <protocol>
48 CAPA\r
49 APOP user 7501b4cdc224d469940e65e7b5e4d6eb\r
50 RETR 864\r
51 QUIT\r
52 </protocol>
53 </verify>
54 </testcase>