Manually delete all mail in all mailboxes

We don’t want to keep copies of any mail that has been received or sent.

Is there a way to:

  1. manually delete all the mail in a mailbox?
  2. delete all mail in all mailboxes?

Thanks in advance!
Paul.

I don’t have the exact command, but one way might be by using the doveadm expunge tool.

I was looking at that but it did not seem to work. I will take better notes and get back here with what I find about doveadm expunge.

Thanks!

This topic was automatically closed 40 days after the last reply. New replies are no longer allowed.