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