2015-01-28 01:03:56 +08:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
POP3
|
|
|
|
SASL
|
|
|
|
SASL AUTH EXTERNAL
|
|
|
|
RFC1734
|
|
|
|
RFC4422
|
|
|
|
RFC5034
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<servercmd>
|
|
|
|
AUTH EXTERNAL
|
|
|
|
REPLY AUTH +
|
|
|
|
REPLY = +OK Login successful
|
|
|
|
</servercmd>
|
|
|
|
<data>
|
|
|
|
From: me@somewhere
|
|
|
|
To: fake@nowhere
|
|
|
|
|
|
|
|
body
|
|
|
|
|
|
|
|
--
|
|
|
|
yours sincerely
|
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
pop3
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
POP3 external authentication without credentials
|
|
|
|
</name>
|
|
|
|
<command>
|
2015-01-29 03:40:03 +08:00
|
|
|
'pop3://;AUTH=EXTERNAL@%HOSTIP:%POP3PORT/884'
|
2015-01-28 01:03:56 +08:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
CAPA
|
|
|
|
AUTH EXTERNAL
|
|
|
|
=
|
2015-01-29 03:40:03 +08:00
|
|
|
RETR 884
|
2015-01-28 01:03:56 +08:00
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|