doveadm backup|sync works for every folder but INBOX

Aki Tuomi aki.tuomi at open-xchange.com
Thu Nov 3 07:50:57 UTC 2022


> On 03/11/2022 09:46 EET Ralf Becker <rb at egroupware.org> wrote:
> 
>  
> I'm trying to migrate an old Cyrus 2.5 server to Dovecot 2.3.19 using 
> doveadm backup -R, which works for all folders but the INBOX itself, 
> which always stays empty.
> 
> The Cyrus side uses altnamespace:no and unixhierarchysep:no, it's used 
> as imapc: remote in doveadm backup -R with imapc_list_prefix=INBOX
> 
> Dovecot uses the following namespace to migrate into:
> 
> namespace inboxes {
>    inbox = yes
>    location =
>    mailbox Sent {
>      auto = subscribe
>      special_use = \Sent
>    }
>    ### some more folders omitted ###
>    prefix = INBOX/
>    separator = /
>    subscriptions = no
> }

Hi!

When syncing mailboxes from other server, you should use migration config file, which has **no** auto=subscribe or auto=create folders, as these can mess up with synchronization.

Please see https://doc.dovecot.org/admin_manual/migrating_mailboxes/ for more details.

Aki


More information about the dovecot mailing list