Here is the log of a test "doveadm -D altmove -r -u user all" on our setup. But I doubt it contains anything useful besides mailbox and config details. The post from Ewald Dieterich <ewald@mailbox.org> seems on the right track, although I didn't tested the patch. By the way, the "doveadm altmove -r" does not exactly has no effect: it renumbers and equalize (compress) the mail files in alt storage. But the messages that were here stay here. Le 21/03/2023 à 07:35, Aki Tuomi a écrit :
On 21/03/2023 00:26 EET Benoit Branciard <benoit.branciard@univ-paris1.fr> wrote:
Hello,
I have some trouble using "doveadm altmove -r".
Regular "doveadm altmove" is OK, selected mails were moved to alternate storage as expected. But I can't manage to get them back to original location, "doveadm altmove -r" has no effect.
We are using Dovecot 2.3.4 (Debian Buster package).
mail_location = mdbox:~/mdbox:DIRNAME=_@@_dbox-Mails_@@_:ALT=/slow%h/mdbox
Can you try
doveadm -D altmove -r -u myuser all
and post logs?
Aki
-- Benoit BRANCIARD Université Paris 1 Panthéon-Sorbonne - DSIUN-SIS B405 - Centre PMF - 90 rue de Tolbiac - 75013 Paris Tel. 01 44 07 89 68 http://dsiun.univ-paris1.fr