On 21/03/2023 00:26 EET Benoit Branciard
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
doveadm altmove -u myuser since 90d
-> some message files are created under /slow/my/homedir/mdbox/storage
doveadm altmove -r -u myuser all
-> message files are still sitting under /slow/my/homedir/mdbox/storage, none were created into /my/homedir/mdbox/storage.
Is there some known issues with doveadm altmove in this version ? Or am I missing something ?
I can share more config details if needed.
-- 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
Can you try doveadm -D altmove -r -u myuser all and post logs? Aki