Em 13-03-2012 13:49, Timo Sirainen escreveu:
On 13.3.2012, at 16.36, Marcio Merlone wrote:
It works, given that the files are not locked. I could restart dovecot before
so it would unlock the files, but there is no guarantee it does not get locked
again before the find finishes.
I'm not sure what you mean by locks.
Operating system lock of open files (lsof).
A perfectly working solution would be to (upgrade to v2.x and) switch
to sdbox or mdbox format with alt storage enabled, then you could
simply do: doveadm altmove -A mailbox 'Archives*' all
Sounds really nice. There are no 2.0 packages for Lucid tough, so will
take a look at the latest stable Ubuntu, or perhaps give the beta a try
(until it comes stable).
Thanks for your prompt reply. :)
--
*Marcio Merlone*