[Dovecot] v2.1.16 released

Timo Sirainen tss at iki.fi
Fri Apr 5 14:08:30 EEST 2013


On Fri, 2013-04-05 at 12:06 +0200, Gilles CHAUVIN wrote:
> Hi,
> 
> 
> On Friday 05 April 2013 00:16:17 Timo Sirainen wrote:
> > 	+ Added "doveadm batch" command to run multiple commands before moving
> > 	  onto the next user (useful only with -A and -u <usermask>)
> 
> As I understand this new command, it permits to run several doveadm commands 
> in one shot?
> 
> 
> If this is correct, could you provide an example showing how to execute those 
> two commands at the same time:
> 
> - doveadm quota get -A
> - doveadm mailbox status -A -t all '*'

doveadm batch -A : quota get : mailbox status -t all '*'

Except looks like subcommand parameters don't work. Fixed:
http://hg.dovecot.org/dovecot-2.2/rev/2918bfacf565

Also those commands crash now because it tries to use "table"
formatter.. Giving doveadm -f tab for example fixes the crash. Anyway,
it's not really meant for those types of commands, most importantly the
idea was to run:

doveadm batch -A : altmove savedbefore 1w : purge

And maybe some expunge commands to delete old mails from Trash/Spam.




More information about the dovecot mailing list