2013-11-06 04:00:00 +04:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
IMAP
|
2014-03-30 14:20:19 +04:00
|
|
|
SASL
|
2014-03-30 15:01:15 +04:00
|
|
|
SASL AUTH PLAIN
|
2013-11-06 04:00:00 +04:00
|
|
|
RFC4616
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<servercmd>
|
|
|
|
AUTH PLAIN
|
|
|
|
REPLY AUTHENTICATE +
|
2013-11-10 20:08:12 +04:00
|
|
|
REPLY dXNlcgB1c2VyAHNlY3JldA== A002 OK AUTHENTICATE completed
|
2013-11-06 04:00:00 +04:00
|
|
|
</servercmd>
|
|
|
|
<data>
|
|
|
|
From: me@somewhere
|
|
|
|
To: fake@nowhere
|
|
|
|
|
|
|
|
body
|
|
|
|
|
|
|
|
--
|
|
|
|
yours sincerely
|
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
imap
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
IMAP plain authentication
|
|
|
|
</name>
|
|
|
|
<command>
|
|
|
|
'imap://%HOSTIP:%IMAPPORT/819/;UID=1' -u user:secret
|
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
A001 CAPABILITY
|
|
|
|
A002 AUTHENTICATE PLAIN
|
2013-11-10 20:08:12 +04:00
|
|
|
dXNlcgB1c2VyAHNlY3JldA==
|
2013-11-06 04:00:00 +04:00
|
|
|
A003 SELECT 819
|
|
|
|
A004 FETCH 1 BODY[]
|
|
|
|
A005 LOGOUT
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|