2011-03-18 07:59:30 +08:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
POP3
|
2014-03-30 18:40:50 +08:00
|
|
|
Clear Text
|
2011-03-18 07:59:30 +08:00
|
|
|
LIST
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<servercmd>
|
2018-06-03 20:14:45 +08:00
|
|
|
# include the '.\r\n' 3-byte trailer to end the transfer properly!
|
2013-03-11 03:55:22 +08:00
|
|
|
REPLY LIST +OK 851 100\r\n.
|
2011-03-18 07:59:30 +08:00
|
|
|
</servercmd>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
pop3
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
POP3 LIST one message
|
|
|
|
</name>
|
|
|
|
<command>
|
2013-03-11 03:55:22 +08:00
|
|
|
pop3://%HOSTIP:%POP3PORT/851 -l -u user:secret
|
2011-03-18 07:59:30 +08:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
2012-06-05 02:41:56 +08:00
|
|
|
CAPA
|
2011-03-18 07:59:30 +08:00
|
|
|
USER user
|
|
|
|
PASS secret
|
2013-03-11 03:55:22 +08:00
|
|
|
LIST 851
|
2011-03-18 07:59:30 +08:00
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|