test815 671 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <testcase>
  2. <info>
  3. <keywords>
  4. IMAP
  5. Clear Text
  6. STORE
  7. CLOSE
  8. CUSTOMREQUEST
  9. </keywords>
  10. </info>
  11. #
  12. # Server-side
  13. <reply>
  14. <data1>
  15. * 123 FETCH (FLAGS (\Seen \Deleted))
  16. </data1>
  17. </reply>
  18. #
  19. # Client-side
  20. <client>
  21. <server>
  22. imap
  23. </server>
  24. <name>
  25. IMAP STORE - delete message (CUSTOMREQUEST)
  26. </name>
  27. <command>
  28. imap://%HOSTIP:%IMAPPORT/815 -X 'STORE 123 +Flags \Deleted' -u user:secret -: imap://%HOSTIP:%IMAPPORT/815 -X CLOSE -u user:secret
  29. </command>
  30. </client>
  31. #
  32. # Verify data after the test has been "shot"
  33. <verify>
  34. <protocol>
  35. A001 CAPABILITY
  36. A002 LOGIN user secret
  37. A003 SELECT 815
  38. A004 STORE 123 +Flags \Deleted
  39. A005 CLOSE
  40. A006 LOGOUT
  41. </protocol>
  42. </verify>
  43. </testcase>