45 lines
540 B
Plaintext
45 lines
540 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
POP3
|
|
Clear Text
|
|
LIST
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
<servercmd>
|
|
# include the '.\r\n' 3-byte trailer to end the transfer properly!
|
|
REPLY LIST +OK 851 100\r\n.
|
|
</servercmd>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
pop3
|
|
</server>
|
|
<name>
|
|
POP3 LIST one message
|
|
</name>
|
|
<command>
|
|
pop3://%HOSTIP:%POP3PORT/851 -l -u user:secret
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<protocol>
|
|
CAPA
|
|
USER user
|
|
PASS secret
|
|
LIST 851
|
|
QUIT
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|