<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
POP3
SASL
SASL AUTH CRAM-MD5
RFC1734
RFC2195
RFC5034
</keywords>
</info>

# Server-side
<reply>
<servercmd>
AUTH CRAM-MD5
REPLY AUTH + %b64[%3c1972.987654321@curl%3e]b64%
REPLY %b64[user 7031725599fdbb5d412689aa323e3e0b]b64% +OK Login successful
</servercmd>
<data crlf="yes">
From: me@somewhere
To: fake@nowhere

body

--
  yours sincerely
</data>
</reply>

# Client-side
<client>
<server>
pop3
</server>
<features>
crypto
digest
</features>
<name>
POP3 CRAM-MD5 authentication
</name>
<command>
pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret
</command>
</client>

# Verify data after the test has been "shot"
<verify>
<protocol crlf="yes">
CAPA
AUTH CRAM-MD5
%b64[user 7031725599fdbb5d412689aa323e3e0b]b64%
RETR %TESTNUMBER
QUIT
</protocol>
</verify>
</testcase>
