1<testcase>
2<info>
3<keywords>
4POP3
5POP3 AUTH LOGIN
6RFC1734
7RFC5034
8</keywords>
9</info>
10
11#
12# Server-side
13<reply>
14<servercmd>
15AUTH LOGIN
16REPLY AUTH + VXNlcm5hbWU6
17REPLY dXNlcg== + UGFzc3dvcmQ6
18REPLY c2VjcmV0 +OK Login successful
19</servercmd>
20<data>
21From: me@somewhere
22To: fake@nowhere
23
24body
25
26--
27  yours sincerely
28</data>
29</reply>
30
31#
32# Client-side
33<client>
34<server>
35pop3
36</server>
37 <name>
38POP3 login authentication
39 </name>
40 <command>
41pop3://%HOSTIP:%POP3PORT/866 -u user:secret
42</command>
43</client>
44
45#
46# Verify data after the test has been "shot"
47<verify>
48<protocol>
49CAPA
50AUTH LOGIN
51dXNlcg==
52c2VjcmV0
53RETR 866
54QUIT
55</protocol>
56</verify>
57</testcase>
58