Greetings!
I've been trying to sync my email to a server, however it only syncs the mail in folders other than INBOX.

For testing purposes, I've created a fake domain, "letest.tld" and a new empty user account "saywhatnow@letest.tld" to receive the copy of the mail being migrated.

What I've been trying are iterations of:

/usr/bin/doveadm -D  -o mail_fsync=never -o dsync_features=empty-header-workaround -o imapc_ssl=imaps -o imapc_features=rfc822.size,fetch-headers -o dsync_commit_msgs_interval=100 -o imapc_port=993 -o imapc_host=imap.zoho.com -o imapc_password=NoNoTRe4LLyMyP4$$ -o imapc_user=decker@n3t.net -o mail_prefetch_count=20  sync  -1Ru saywhatnow@letest.tld  imapc:

Regardless of running sync -1 or backup (I want to keep original mailbox as-is for now) I get errors related to INBOX.

With sync -1 ;

May 10 16:53:29 dsync(saywhatnow@letest.tld): Debug: brain S: Ignore nonexistent mailbox GUID c92f64f79f0d1ed01e6d5b314f04886c with -1 sync
May 10 16:53:29 dsync(saywhatnow@letest.tld): Debug: brain S: We don't have mailbox c92f64f79f0d1ed01e6d5b314f04886c
May 10 16:53:29 dsync(saywhatnow@letest.tld): Debug: brain M: Ignoring missing remote box GUID c92f64f79f0d1ed01e6d5b314f04886c
May 10 16:53:29 dsync(saywhatnow@letest.tld): Debug: Mailbox INBOX.Archive: Mailbox opened
May 10 16:53:29 dsync(saywhatnow@letest.tld): Debug: Mailbox INBOX.Archive: Mailbox opened
May 10 16:53:29 dsync(saywhatnow@letest.tld): Debug: brain S: Skipping unchanged mailbox 51a58e1d1d5c491aac71488647b20224
May 10 16:53:29 dsync(saywhatnow@letest.tld): Debug: Mailbox INBOX.Commercial Spam: Mailbox opened
May 10 16:53:29 dsync(saywhatnow@letest.tld): Debug: Mailbox INBOX.Commercial Spam: Mailbox opened



With backup :

May 10 16:54:55 doveadm(saywhatnow@letest.tld): Debug: brain M: Namespace INBOX. has location maildir:/home/letest/mail/letest.tld/saywhatnow:UTF-8
May 10 16:54:55 doveadm(saywhatnow@letest.tld): Debug: Mailbox INBOX: Mailbox opened
May 10 16:54:55 doveadm(saywhatnow@letest.tld): Debug: Mailbox INBOX: Mailbox opened
May 10 16:54:55 doveadm(saywhatnow@letest.tld): Debug: Namespace INBOX.: Using permissions from /home/letest/mail/letest.tld/saywhatnow: mode=0700 gid=default
...
May 10 16:54:55 dsync(saywhatnow@letest.tld): Debug: brain S: Namespace INBOX. has location imapc:
May 10 16:54:57 dsync(saywhatnow@letest.tld): Debug: brain M: Local mailbox tree: INBOX guid=c92f64f79f0d1ed01e6d5b314f04886c uid_validity=1 uid_next=1 subs=yes last_change=0 last_subs=1652217475
May 10 16:54:57 dsync(saywhatnow@letest.tld): Debug: brain S: Local mailbox tree: INBOX guid=c92f64f79f0d1ed01e6d5b314f04886c uid_validity=1 uid_next=8230 subs=yes last_change=0 last_subs=0
...
May 10 16:54:57 dsync(saywhatnow@letest.tld): Debug: brain M: Remote mailbox tree: INBOX guid=c92f64f79f0d1ed01e6d5b314f04886c uid_validity=1 uid_next=8230 subs=yes last_change=0 last_subs=0
...
May 10 16:54:57 dsync(saywhatnow@letest.tld): Debug: brain M: Mailbox INBOX: local=c92f64f79f0d1ed01e6d5b314f04886c/0/1, remote=c92f64f79f0d1ed01e6d5b314f04886c/0/1: Mailboxes are equal
...
May 10 16:54:57 dsync(saywhatnow@letest.tld): Debug: Mailbox INBOX: Mailbox opened
May 10 16:54:57 dsync(saywhatnow@letest.tld): Debug: brain S: Mailbox INBOX: local=c92f64f79f0d1ed01e6d5b314f04886c/0/1, remote=c92f64f79f0d1ed01e6d5b314f04886c/0/1: Mailboxes are equal
...
May 10 16:54:57 dsync(saywhatnow@letest.tld): Debug: Mailbox INBOX: Mailbox opened
May 10 16:54:57 dsync(saywhatnow@letest.tld): Debug: brain S: Change during sync: Mailbox GUID c92f64f79f0d1ed01e6d5b314f04886c was lost
May 10 16:54:57 dsync(saywhatnow@letest.tld): Debug: brain S: We don't have mailbox c92f64f79f0d1ed01e6d5b314f04886c
May 10 16:54:57 dsync(saywhatnow@letest.tld): Debug: brain M: Change during sync: Remote lost mailbox GUID c92f64f79f0d1ed01e6d5b314f04886c (maybe it was just deleted?)
...
May 10 16:55:33 dsync(saywhatnow@letest.tld): Warning: Mailbox changes caused a desync. You may want to run dsync again: Remote lost mailbox GUID c92f64f79f0d1ed01e6d5b314f04886c (maybe it was just deleted?)


This is odd, since that very GUID is in the uidlist file for the base folder:
# grep -R Gc92f64f79f0d1ed01e6d5b314f04886c  /home/letest/mail/letest.tld/saywhatnow
/home/letest/mail/letest.tld/saywhatnow/dovecot-uidlist:3 V1 N1 Gc92f64f79f0d1ed01e6d5b314f04886c


I've tried all sorts of things to get this to work, including removing the entire /home/letest/mail/letest.tld/saywhatnow/ directory so there could be no conflicts with existing mailbox, set mailbox_list_index=no , set lda_mailbox_autocreate=no , etc.

The errors appear to originate from src/doveadm/dsync/dsync-brain-mailbox.c but it's not really telling me a lot.

I'm using dovecot version 2.3.18 (9dd8408c18) on a cPanel server.
`dovecot -n` output attached.

Any help would be greatly appreciated!

Thanks,
Darren