Remove all messages in a mailbox
Hi All,
I am having trouble removing all messages in a mailbox. The command below doesn't remove all the messages:
doveadm expunge -u user@domain mailbox '*' all
Do I need to add .* or other?
THanks
Murray
Hi,
we use namespace with prefix = INBOX. When we need to remove all messages in mailbox we need to run this commands: doveadm expunge -u user@domain mailbox INBOX ALL doveadm expunge -u user@domain mailbox INBOX.* ALL
The first remove mailboxes in inbox and the second in other subfolders.
And in case you use dbox format: doveadm purge -u user@domain
On Wed, 25 Jun 2014 17:57:21 +0800 "Murray Trainer" <mtrainer@westnet.com.au> wrote:
Hi All,
I am having trouble removing all messages in a mailbox. The command below doesn't remove all the messages:
doveadm expunge -u user@domain mailbox '*' all
Do I need to add .* or other?
THanks
Murray
-- [ Ohodnotte kvalitu mailu: http://nicereply.com/websupport/Stano/ ]
Pavel Stano | Troubleshooter
http://WebSupport.sk *** BERTE A VYCHUTNAVAJTE ***
participants (2)
-
Murray Trainer
-
Pavel Stano