test862 588 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <testcase>
  2. <info>
  3. <keywords>
  4. POP3
  5. Clear Text
  6. TOP
  7. CUSTOMREQUEST
  8. RFC2449
  9. </keywords>
  10. </info>
  11. #
  12. # Server-side
  13. <reply>
  14. <servercmd>
  15. CAPA TOP USER
  16. </servercmd>
  17. <data>
  18. From: me@somewhere
  19. To: fake@nowhere
  20. </data>
  21. </reply>
  22. #
  23. # Client-side
  24. <client>
  25. <server>
  26. pop3
  27. </server>
  28. <name>
  29. POP3 retrieve message header (CUSTOMREQUEST)
  30. </name>
  31. <command>
  32. pop3://%HOSTIP:%POP3PORT -u user:secret -X 'TOP %TESTNUMBER 0'
  33. </command>
  34. </client>
  35. #
  36. # Verify data after the test has been "shot"
  37. <verify>
  38. <protocol>
  39. CAPA
  40. USER user
  41. PASS secret
  42. TOP %TESTNUMBER 0
  43. QUIT
  44. </protocol>
  45. </verify>
  46. </testcase>