Evidently, the 'doveadm expunge' command requires a "mailbox" to be defined in the search string. 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 Thanks, Michael
On 28-12-16 02:31, Michael Fox wrote:> Evidently, the 'doveadm expunge' command requires a "mailbox" to be defined > in the search string. > > > > 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 30dtry: doveadm expunge -u user at domain ALL savedbefore 30d just like the example thats here: http://wiki2.dovecot.org/Tools/Doveadm/SearchQuery
> > 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/SearchQueryI 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