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?
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?
From a quick glance at the manual, this should do it:
doveadm expunge ALL
This would affect all mailboxes.
To adapt an example from the search-query manual:
doveadm expunge mailbox-guid 44f68b13ce97044b837f000035ca9452 ALL
This would only affect a single mailbox.