Re: [Dovecot] doveadm with multiple commands

2013-03-25 Thread Timo Sirainen
On Mon, 2012-09-24 at 23:24 +0200, Daniel Parthey wrote: > > >> Timo Sirainen wrote: > > >>> doveadm multi [-A | -u wildcards] > > >>> [ [...]] .. > Ok, so how about "batch"? > > It reads a series of commands and collects them into > one "batch job" which is then carried out. Added this final

Re: [Dovecot] doveadm with multiple commands

2012-09-24 Thread Daniel Parthey
Timo Sirainen wrote: > On 21.9.2012, at 8.28, Timo Sirainen wrote: > > >> Timo Sirainen wrote: > >>> doveadm multi [-A | -u wildcards] > >>> [ [...]] > >>> > >>> Thoughts? > > > >> As command name I could also think of "doveadm sequence", which > >> implies the commands being executed in ser

Re: [Dovecot] doveadm with multiple commands

2012-09-24 Thread Ben Morrow
At 2PM +0300 on 24/09/12 you (Timo Sirainen) wrote: > On 24.9.2012, at 14.44, A.L.E.C wrote: > > > next is "run" or "pipe", but what if you create global separator option > > and detect multi-command syntax usage automatically without a keyword? > > > > Syntax for doveadm would be > > > > dovea

Re: [Dovecot] doveadm with multiple commands

2012-09-24 Thread Timo Sirainen
On 24.9.2012, at 14.44, A.L.E.C wrote: > next is "run" or "pipe", but what if you create global separator option > and detect multi-command syntax usage automatically without a keyword? > > Syntax for doveadm would be > > doveadm [-Dv] [-f formatter] [-s separator] [-A | -u wildcards ] command >

Re: [Dovecot] doveadm with multiple commands

2012-09-24 Thread A.L.E.C
On 09/22/2012 06:50 PM, Timo Sirainen wrote: > On 21.9.2012, at 11.23, A.L.E.C wrote: > >> On 09/20/2012 06:01 PM, Timo Sirainen wrote: >>> Thoughts? Any better name for the command than "multi"? >> >> How about 'execute' or 'exec'. > > v2.1.10 already has "dovecot exec" that does a different thi

Re: [Dovecot] doveadm with multiple commands

2012-09-24 Thread Timo Sirainen
On 21.9.2012, at 8.28, Timo Sirainen wrote: >> Timo Sirainen wrote: >>> doveadm multi [-A | -u wildcards] [>> string> [...]] >>> >>> Thoughts? > >> As command name I could also think of "doveadm sequence", which >> implies the commands being executed in serial order. > > Hmm. Maybe. "sequen

Re: [Dovecot] doveadm with multiple commands

2012-09-22 Thread Timo Sirainen
On 21.9.2012, at 16.53, Steinar Bang wrote: >> Timo Sirainen : > >> Thoughts? > > How about: > a) Dropping into a command prompt where it's possible to give commands? > b) Making it possible to feed commands through a pipe (ie reading lines >from stdin)? Both of these would require addi

Re: [Dovecot] doveadm with multiple commands

2012-09-22 Thread Timo Sirainen
On 21.9.2012, at 11.23, A.L.E.C wrote: > On 09/20/2012 06:01 PM, Timo Sirainen wrote: >> Thoughts? Any better name for the command than "multi"? > > How about 'execute' or 'exec'. v2.1.10 already has "dovecot exec" that does a different thing. So can't be anything related to "exec"..

Re: [Dovecot] doveadm with multiple commands

2012-09-21 Thread Steinar Bang
> Timo Sirainen : > Thoughts? How about: a) Dropping into a command prompt where it's possible to give commands? b) Making it possible to feed commands through a pipe (ie reading lines from stdin)?

Re: [Dovecot] doveadm with multiple commands

2012-09-21 Thread Michael Grimm
On 2012-09-21 10:23, A.L.E.C wrote: On 09/20/2012 06:01 PM, Timo Sirainen wrote: Thoughts? Any better name for the command than "multi"? How about 'execute' or 'exec'. doveadm execall [...] Regards, Michael

Re: [Dovecot] doveadm with multiple commands

2012-09-21 Thread A.L.E.C
On 09/20/2012 06:01 PM, Timo Sirainen wrote: > Thoughts? Any better name for the command than "multi"? How about 'execute' or 'exec'. -- Aleksander 'A.L.E.C' Machniak LAN Management System Developer [http://lms.org.pl] Roundcube Webmail Developer [http://roundcube.net] -

Re: [Dovecot] doveadm with multiple commands

2012-09-20 Thread Timo Sirainen
On 20.9.2012, at 22.17, Daniel Parthey wrote: > Timo Sirainen wrote: >> doveadm multi [-A | -u wildcards] [> string> [...]] >> >> Thoughts? > > Would be nice if this also worked through doveadm director proxy > and executes the command sequence on the correct backend host for > each user. Ye

Re: [Dovecot] doveadm with multiple commands

2012-09-20 Thread Daniel Parthey
Timo Sirainen wrote: > doveadm multi [-A | -u wildcards] [ string> [...]] > > Thoughts? Would be nice if this also worked through doveadm director proxy and executes the command sequence on the correct backend host for each user. As command name I could also think of "doveadm sequence", which