"doveadm altmove -r" not working ?

Ewald Dieterich ewald at mailbox.org
Tue Mar 21 10:42:49 UTC 2023


I had the same problem and solved it by reverting this commit:

https://github.com/dovecot/core/commit/2795f6183049a8a4cc489869b3e866dc20a8a732

Here's my original mail to this mailing list:

https://dovecot.org/pipermail/dovecot/2021-February/121329.html

On 20.03.23 23:26, 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.


More information about the dovecot mailing list