<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;">Greetings!<br>I've been trying to sync my email to a server, however it only syncs the mail in folders other than INBOX.<br><br>For testing purposes, I've created a fake domain, "letest.tld" and a new empty user account "<a target="_blank" href="mailto:saywhatnow@letest.tld" style="color: rgb(0, 0, 238);" data-zeanchor="true">saywhatnow@letest.tld</a>" to receive the copy of the mail being migrated.<br><br>What I've been trying are iterations of:<br><br><div>/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=<a target="_blank" href="mailto:decker@n3t.net" style="color: rgb(0, 0, 238);" data-zeanchor="true">decker@n3t.net</a> -o mail_prefetch_count=20 sync -1Ru <a target="_blank" href="mailto:saywhatnow@letest.tld" style="color: rgb(0, 0, 238);" data-zeanchor="true">saywhatnow@letest.tld</a> imapc:<br><br>Regardless of running sync -1 or backup (I want to keep original mailbox as-is for now) I get errors related to INBOX.<br><br>With sync -1 ;<br><br></div><div><div>May 10 16:53:29 dsync(<a data-zeanchor="true" style="color: rgb(0, 0, 238);" href="mailto:saywhatnow@letest.tld" target="_blank">saywhatnow@letest.tld</a>): Debug: brain S: Ignore nonexistent mailbox GUID c92f64f79f0d1ed01e6d5b314f04886c with -1 sync<br></div><div>May 10 16:53:29 dsync(<a data-zeanchor="true" style="color: rgb(0, 0, 238);" href="mailto:saywhatnow@letest.tld" target="_blank">saywhatnow@letest.tld</a>): Debug: brain S: We don't have mailbox c92f64f79f0d1ed01e6d5b314f04886c<br></div><div>May 10 16:53:29 dsync(<a data-zeanchor="true" style="color: rgb(0, 0, 238);" href="mailto:saywhatnow@letest.tld" target="_blank">saywhatnow@letest.tld</a>): Debug: brain M: Ignoring missing remote box GUID c92f64f79f0d1ed01e6d5b314f04886c<br></div><div>May 10 16:53:29 dsync(<a data-zeanchor="true" style="color: rgb(0, 0, 238);" href="mailto:saywhatnow@letest.tld" target="_blank">saywhatnow@letest.tld</a>): Debug: Mailbox INBOX.Archive: Mailbox opened<br></div><div>May 10 16:53:29 dsync(<a data-zeanchor="true" style="color: rgb(0, 0, 238);" href="mailto:saywhatnow@letest.tld" target="_blank">saywhatnow@letest.tld</a>): Debug: Mailbox INBOX.Archive: Mailbox opened<br></div><div>May 10 16:53:29 dsync(<a data-zeanchor="true" style="color: rgb(0, 0, 238);" href="mailto:saywhatnow@letest.tld" target="_blank">saywhatnow@letest.tld</a>): Debug: brain S: Skipping unchanged mailbox 51a58e1d1d5c491aac71488647b20224<br></div><div>May 10 16:53:29 dsync(<a data-zeanchor="true" style="color: rgb(0, 0, 238);" href="mailto:saywhatnow@letest.tld" target="_blank">saywhatnow@letest.tld</a>): Debug: Mailbox INBOX.Commercial Spam: Mailbox opened<br></div><div>May 10 16:53:29 dsync(<a data-zeanchor="true" style="color: rgb(0, 0, 238);" href="mailto:saywhatnow@letest.tld" target="_blank">saywhatnow@letest.tld</a>): Debug: Mailbox INBOX.Commercial Spam: Mailbox opened<br><br><br><br>With backup : <br><br></div></div><div>May 10 16:54:55 doveadm(<a target="_blank" href="mailto:saywhatnow@letest.tld" style="color: rgb(0, 0, 238);" data-zeanchor="true">saywhatnow@letest.tld</a>): Debug: brain M: Namespace INBOX. has location maildir:/home/letest/mail/letest.tld/saywhatnow:UTF-8<br></div><div>May 10 16:54:55 doveadm(<a target="_blank" href="mailto:saywhatnow@letest.tld" style="color: rgb(0, 0, 238);" data-zeanchor="true">saywhatnow@letest.tld</a>): Debug: Mailbox INBOX: Mailbox opened<br></div><div>May 10 16:54:55 doveadm(<a target="_blank" href="mailto:saywhatnow@letest.tld" style="color: rgb(0, 0, 238);" data-zeanchor="true">saywhatnow@letest.tld</a>): Debug: Mailbox INBOX: Mailbox opened<br></div><div>May 10 16:54:55 doveadm(<a target="_blank" href="mailto:saywhatnow@letest.tld" style="color: rgb(0, 0, 238);" data-zeanchor="true">saywhatnow@letest.tld</a>): Debug: Namespace INBOX.: Using permissions from /home/letest/mail/letest.tld/saywhatnow: mode=0700 gid=default<br></div><div>...<br></div><div>May 10 16:54:55 dsync(<a target="_blank" href="mailto:saywhatnow@letest.tld" style="color: rgb(0, 0, 238);" data-zeanchor="true">saywhatnow@letest.tld</a>): Debug: brain S: Namespace INBOX. has location imapc:<br></div><div>May 10 16:54:57 dsync(<a target="_blank" href="mailto:saywhatnow@letest.tld" style="color: rgb(0, 0, 238);" data-zeanchor="true">saywhatnow@letest.tld</a>): Debug: brain M: Local mailbox tree: INBOX guid=c92f64f79f0d1ed01e6d5b314f04886c uid_validity=1 uid_next=1 subs=yes last_change=0 last_subs=1652217475<br></div><div>May 10 16:54:57 dsync(<a target="_blank" href="mailto:saywhatnow@letest.tld" style="color: rgb(0, 0, 238);" data-zeanchor="true">saywhatnow@letest.tld</a>): Debug: brain S: Local mailbox tree: INBOX guid=c92f64f79f0d1ed01e6d5b314f04886c uid_validity=1 uid_next=8230 subs=yes last_change=0 last_subs=0<br>...</div><div>May 10 16:54:57 dsync(<a target="_blank" href="mailto:saywhatnow@letest.tld" style="color: rgb(0, 0, 238);" data-zeanchor="true">saywhatnow@letest.tld</a>): Debug: brain M: Remote mailbox tree: INBOX guid=c92f64f79f0d1ed01e6d5b314f04886c uid_validity=1 uid_next=8230 subs=yes last_change=0 last_subs=0<br>...<br></div><div>May 10 16:54:57 dsync(<a target="_blank" href="mailto:saywhatnow@letest.tld" style="color: rgb(0, 0, 238);" data-zeanchor="true">saywhatnow@letest.tld</a>): Debug: brain M: Mailbox INBOX: local=c92f64f79f0d1ed01e6d5b314f04886c/0/1, remote=c92f64f79f0d1ed01e6d5b314f04886c/0/1: Mailboxes are equal<br>...</div><div>May 10 16:54:57 dsync(<a target="_blank" href="mailto:saywhatnow@letest.tld" style="color: rgb(0, 0, 238);" data-zeanchor="true">saywhatnow@letest.tld</a>): Debug: Mailbox INBOX: Mailbox opened<br></div><div>May 10 16:54:57 dsync(<a target="_blank" href="mailto:saywhatnow@letest.tld" style="color: rgb(0, 0, 238);" data-zeanchor="true">saywhatnow@letest.tld</a>): Debug: brain S: Mailbox INBOX: local=c92f64f79f0d1ed01e6d5b314f04886c/0/1, remote=c92f64f79f0d1ed01e6d5b314f04886c/0/1: Mailboxes are equal<br>...</div><div>May 10 16:54:57 dsync(<a target="_blank" href="mailto:saywhatnow@letest.tld" style="color: rgb(0, 0, 238);" data-zeanchor="true">saywhatnow@letest.tld</a>): Debug: Mailbox INBOX: Mailbox opened<br></div><div>May 10 16:54:57 dsync(<a target="_blank" href="mailto:saywhatnow@letest.tld" style="color: rgb(0, 0, 238);" data-zeanchor="true">saywhatnow@letest.tld</a>): Debug: brain S: Change during sync: Mailbox GUID c92f64f79f0d1ed01e6d5b314f04886c was lost<br></div><div>May 10 16:54:57 dsync(<a target="_blank" href="mailto:saywhatnow@letest.tld" style="color: rgb(0, 0, 238);" data-zeanchor="true">saywhatnow@letest.tld</a>): Debug: brain S: We don't have mailbox c92f64f79f0d1ed01e6d5b314f04886c<br></div><div>May 10 16:54:57 dsync(<a target="_blank" href="mailto:saywhatnow@letest.tld" style="color: rgb(0, 0, 238);" data-zeanchor="true">saywhatnow@letest.tld</a>): Debug: brain M: Change during sync: Remote lost mailbox GUID c92f64f79f0d1ed01e6d5b314f04886c (maybe it was just deleted?)<br>...<br></div><div>May 10 16:55:33 dsync(<a target="_blank" href="mailto:saywhatnow@letest.tld" style="color: rgb(0, 0, 238);" data-zeanchor="true">saywhatnow@letest.tld</a>): Warning: Mailbox changes caused a desync. You may want to run dsync again: Remote lost mailbox GUID c92f64f79f0d1ed01e6d5b314f04886c (maybe it was just deleted?)<br></div><div><div><div><div><div><br><br>This is odd, since that very GUID is in the uidlist file for the base folder:<br></div></div></div><div># grep -R Gc92f64f79f0d1ed01e6d5b314f04886c /home/letest/mail/letest.tld/saywhatnow<br></div><div>/home/letest/mail/letest.tld/saywhatnow/dovecot-uidlist:3 V1 N1 Gc92f64f79f0d1ed01e6d5b314f04886c<br></div><div><br><br>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.<br></div></div><div><br></div><div>The errors appear to originate from src/doveadm/dsync/dsync-brain-mailbox.c but it's not really telling me a lot.<br></div><div><br></div><div>I'm using dovecot version 2.3.18 (9dd8408c18) on a cPanel server.<br></div><div>`dovecot -n` output attached. <br></div><div><br></div><div>Any help would be greatly appreciated!<br></div><div><br></div><div>Thanks,<br>Darren<br></div></div><div><br></div></div><br></body></html>