lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | <testcase> |
2 | <info> | ||||
3 | <keywords> | ||||
4 | POP3 | ||||
5 | Clear Text | ||||
6 | TOP | ||||
7 | CUSTOMREQUEST | ||||
8 | RFC2449 | ||||
9 | </keywords> | ||||
10 | </info> | ||||
11 | |||||
12 | # | ||||
13 | # Server-side | ||||
14 | <reply> | ||||
15 | <servercmd> | ||||
16 | CAPA TOP USER | ||||
17 | </servercmd> | ||||
18 | <data> | ||||
19 | From: me@somewhere | ||||
20 | To: fake@nowhere | ||||
21 | |||||
22 | </data> | ||||
23 | </reply> | ||||
24 | |||||
25 | # | ||||
26 | # Client-side | ||||
27 | <client> | ||||
28 | <server> | ||||
29 | pop3 | ||||
30 | </server> | ||||
31 | <name> | ||||
32 | POP3 retrieve message header (CUSTOMREQUEST) | ||||
33 | </name> | ||||
34 | <command> | ||||
35 | pop3://%HOSTIP:%POP3PORT -u user:secret -X 'TOP 862 0' | ||||
36 | </command> | ||||
37 | </client> | ||||
38 | |||||
39 | # | ||||
40 | # Verify data after the test has been "shot" | ||||
41 | <verify> | ||||
42 | <protocol> | ||||
43 | CAPA | ||||
44 | USER user | ||||
45 | PASS secret | ||||
46 | TOP 862 0 | ||||
47 | QUIT | ||||
48 | </protocol> | ||||
49 | </verify> | ||||
50 | </testcase> |