2013-10-19 07:57:25 -04:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
POP3
|
|
|
|
POP3 AUTH CRAM-MD5
|
2014-03-30 06:20:19 -04:00
|
|
|
SASL
|
2013-10-19 07:57:25 -04:00
|
|
|
RFC1734
|
|
|
|
RFC2195
|
|
|
|
RFC5034
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<servercmd>
|
|
|
|
AUTH CRAM-MD5
|
2013-11-12 04:42:59 -05:00
|
|
|
REPLY AUTH + PDE5NzIuOTg3NjU0MzIxQGN1cmw+
|
|
|
|
REPLY dXNlciA3MDMxNzI1NTk5ZmRiYjVkNDEyNjg5YWEzMjNlM2UwYg== +OK Login successful
|
2013-10-19 07:57:25 -04:00
|
|
|
</servercmd>
|
|
|
|
<data>
|
|
|
|
From: me@somewhere
|
|
|
|
To: fake@nowhere
|
|
|
|
|
|
|
|
body
|
|
|
|
|
|
|
|
--
|
|
|
|
yours sincerely
|
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
pop3
|
|
|
|
</server>
|
|
|
|
<features>
|
|
|
|
crypto
|
|
|
|
</features>
|
|
|
|
<name>
|
|
|
|
POP3 CRAM-MD5 authentication
|
|
|
|
</name>
|
|
|
|
<command>
|
2013-11-12 04:42:59 -05:00
|
|
|
pop3://%HOSTIP:%POP3PORT/867 -u user:secret
|
2013-10-19 07:57:25 -04:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
CAPA
|
|
|
|
AUTH CRAM-MD5
|
2013-11-12 04:42:59 -05:00
|
|
|
dXNlciA3MDMxNzI1NTk5ZmRiYjVkNDEyNjg5YWEzMjNlM2UwYg==
|
2013-10-19 07:57:25 -04:00
|
|
|
RETR 867
|
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|