xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 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 | ||||
18 | To: fake@nowhere | ||||
19 | |||||
20 | body | ||||
21 | |||||
22 | -- | ||||
23 | yours sincerely | ||||
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/%TESTNUMBER -u user:secret | ||||
41 | </command> | ||||
42 | </client> | ||||
43 | |||||
44 | # | ||||
45 | # Verify data after the test has been "shot" | ||||
46 | <verify> | ||||
47 | <protocol> | ||||
48 | CAPA | ||||
49 | APOP user 7501b4cdc224d469940e65e7b5e4d6eb | ||||
50 | RETR %TESTNUMBER | ||||
51 | QUIT | ||||
52 | </protocol> | ||||
53 | </verify> | ||||
54 | </testcase> |