0

I have asked the following question elsewhere on StackExchange, and I was pointed here as the best place to ask the question.

The response said that I need to use doveadm which is what I expected. However, I cannot find examples of the correct search criteria. Can anyone help please?

I would have thought that this would be a FAQ but I haven't found a useful answer.

How do I expunge all email messages deleted using the email client regardless of which folder it's in?

2 Answers 2

0

As mentioned in the MS official article, the only way to delete all email in all folders is to right-click each folder in your folder list, select Delete All, and move the items to the Deleted Items folder.

References: Delete all email in all folders.

enter image description here

2
  • Thank you for this, but my problem isn't in Outlook, it's on the server. When everything is deleted in Outlook, the IMAP server files do not shrink. I ned to force an expunge for all emails marked as deleted Nov 25 at 15:41
  • Deleting messages Deleted Items folder in Outlook can be synced to the server side. All you need to do is right-click the Deleted Items folder, and then click Empty Folder.
    – Christy
    Nov 28 at 6:37
0

It turned out that I didn't have to do anything. By the next morning, the mailbox had resized to empty. Presumably it's an async update on the part of the IMAP server

New contributor
Gary Stainburn is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
1
  • Glad your issue has been resolved.
    – Christy
    Nov 30 at 9:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.