RE: expunging all mailboxes

2017-01-03 Thread Michael Fox
> maybe the debug option '-D' gives a clue why it failes on your site? > > doveadm -D expunge -u user@domain mailbox '*' savedbefore 2d I don't see any errors in the debug output. And if there was an error, one would expect to see an error message when running the expunge command even without de

Re: expunging all mailboxes

2016-12-31 Thread Luuk
On 31-12-16 07:53, Michael Fox wrote: Huh, it certainly did for me, although I used "all" instead of "savedbefore 30d" since I just wanted to empty the trash. What version of Dovecot? Mine is 2.2.27. Well, not for me. doveadm search -u user@domain ALL savedbefore 2d -- returns some messages d

Re: expunging all mailboxes

2016-12-31 Thread Peter Chiochetti
Am 2016-12-31 um 07:53 schrieb Michael Fox: Huh, it certainly did for me, although I used "all" instead of "savedbefore 30d" since I just wanted to empty the trash. Well, not for me. doveadm search -u user@domain ALL savedbefore 2d -- returns some messages doveadm expunge -u user@domain mailbox

RE: expunging all mailboxes

2016-12-30 Thread Michael Fox
> Huh, it certainly did for me, although I used "all" instead of > "savedbefore 30d" since I just wanted to empty the trash. What > version of Dovecot? Mine is 2.2.27. Well, not for me. doveadm search -u user@domain ALL savedbefore 2d -- returns some messages doveadm expunge -u user@domain mailbox

Re: expunging all mailboxes

2016-12-30 Thread Tom Talpey
On 12/30/2016 11:03 AM, Michael Fox wrote: doveadm expunge -u mailbox '*' savedbefore 30d That doesn't work for me either. The command is accepted, but the messages are not expunged. Huh, it certainly did for me, although I used "all" instead of "savedbefore 30d" since I just wanted to empt

Re: expunging all mailboxes

2016-12-30 Thread Luuk
On 30-12-16 17:03, Michael Fox wrote: doveadm expunge -u mailbox '*' savedbefore 30d That doesn't work for me either. The command is accepted, but the messages are not expunged. I guess my search/fetch will just have to return the mailbox name, in addition to other fields, and then I'll ne

RE: expunging all mailboxes

2016-12-30 Thread Michael Fox
> doveadm expunge -u mailbox '*' savedbefore 30d That doesn't work for me either. The command is accepted, but the messages are not expunged. I guess my search/fetch will just have to return the mailbox name, in addition to other fields, and then I'll need to loop through the mailbox names and

Re: expunging all mailboxes

2016-12-30 Thread Tom Talpey
On 12/29/2016 10:23 PM, Michael Fox wrote: But is there a way tell it all mailboxes for a user? For example, something like: doveadm expunge -u user@domain mailbox ALL savedbefore 30d try: doveadm expunge -u user@domain ALL savedbefore 30d just like the example thats here: http://wiki2.dov

RE: expunging all mailboxes

2016-12-29 Thread Michael Fox
> > But is there a way tell it all mailboxes for a user? For example, > something > > like: > > > > doveadm expunge -u user@domain mailbox ALL savedbefore 30d > > try: > doveadm expunge -u user@domain ALL savedbefore 30d > > just like the example thats here: > http://wiki2.dovecot.org/Tools/Dove

Re: expunging all mailboxes

2016-12-29 Thread Luuk
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@domain mailbox ALL savedbefore 30d try: dove

expunging all mailboxes

2016-12-27 Thread Michael Fox
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@domain mailbox ALL savedbefore 30d Thanks, Michael