expunging all mailboxes

Michael Fox news at mefox.org
Fri Dec 30 03:23:49 UTC 2016


> > But is there a way tell it all mailboxes for a user?  For example,
> something
> > like:
> >
> > doveadm expunge -u user at domain mailbox ALL savedbefore 30d
> 
> try:
> doveadm expunge -u user at domain ALL savedbefore 30d
> 
> just like the example thats here:
> http://wiki2.dovecot.org/Tools/Doveadm/SearchQuery

I already tried that.  Did you?  
For me, expunge returns an error that says the mailbox must be listed.
Also, that example is for search, not expunge.

So, the original question remains:  is there a way to specify all mailboxes
for a user?

Michael



More information about the dovecot mailing list