1<testcase>
2<info>
3<keywords>
4POP3
5POP3 AUTH CRAM-MD5
6RFC1734
7RFC2195
8RFC5034
9</keywords>
10</info>
11
12#
13# Server-side
14<reply>
15<servercmd>
16AUTH CRAM-MD5
17REPLY AUTH + PDE5NzIuOTg3NjU0MzIxQGN1cmw+
18REPLY dXNlciA3MDMxNzI1NTk5ZmRiYjVkNDEyNjg5YWEzMjNlM2UwYg== +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<features>
38crypto
39</features>
40 <name>
41POP3 CRAM-MD5 authentication
42 </name>
43 <command>
44pop3://%HOSTIP:%POP3PORT/867 -u user:secret
45</command>
46</client>
47
48#
49# Verify data after the test has been "shot"
50<verify>
51<protocol>
52CAPA
53AUTH CRAM-MD5
54dXNlciA3MDMxNzI1NTk5ZmRiYjVkNDEyNjg5YWEzMjNlM2UwYg==
55RETR 867
56QUIT
57</protocol>
58</verify>
59</testcase>
60