doveadm sync usage ; root INBOX unsynced
Hi,
I am trying to import a mail IMAP account using doveadm.
Following https://serverfault.com/questions/605342/migrating-from-any-imap-pop3-server...
I did it with:
doveadm -D -v
-o imapc_host=mail.oldserver.tld
-o imapc_user=contact@domain.org
-o imapc_password=xxxxxxx
-o imapc_features=rfc822.size
-o imapc_ssl=starttls
-o ssl_client_ca_file=/etc/ssl/certs/ca-certificates.crt
-o mail_fsync=never
sync -1 -R -u contact@domain.org imapc:
Btw I am facing with exactly the same error than: https://serverfault.com/questions/960264/doveadm-backup-doesnt-transfer-mail...
I.e. it works fine for all subfolders, but the root INBOX stay empty on the new server.
Those debug messages tell me something seems wrong with INBOX root but I am unable to understand them:
dsync(contact@domain.tld): Debug: brain M: Local mailbox tree: INBOX guid=deadbeefdeabbeefdeadbeefdeabbeef uid_validity=1604137198 uid_next=1 subs=no last_change=0 last_subs=0 dsync(contact@domain.tld): Debug: brain S: Remote mailbox tree: INBOX guid=deadbeefdeabbeefdeadbeefdeabbeef uid_validity=1604137198 uid_next=1 subs=no last_change=0 last_subs=0 dsync(contact@domain.tld): Debug: brain M: Mailbox INBOX: local=deadbeefdeabbeefdeadbeefdeabbeef/0/1, remote=00000000000000000000000000000000/0/0: mailbox not selectable yet dsync(contact@domain.tld): Debug: brain S: Mailbox INBOX: local=00000000000000000000000000000000/0/0, remote=deadbeefdeabbeefdeadbeefdeabbeef/0/1: mailbox not selectable yet dsync(contact@domain.tld): Debug: brain S: Ignore nonexistent mailbox GUID deadbeefdeabbeefdeadbeefdeabbeef with -1 sync dsync(contact@domain.tld): Debug: brain S: We don't have mailbox deadbeefdeabbeefdeadbeefdeabbeef dsync(contact@domain.tld): Debug: brain M: Change during sync: Remote lost mailbox GUID deadbeefdeabbeefdeadbeefdeabbeef (maybe it was just deleted?) dsync(contact@domain.tld): Warning: Mailbox changes caused a desync. You may want to run dsync again: Remote lost mailbox GUID deadbeefdeabbeefdeadbeefdeabbeef (maybe it was just deleted?)
Does someone have on hint?
Best regards. François
-- François Poulain <fpoulain@metrodore.fr>
Le Sat, 31 Oct 2020 13:36:32 +0100, François Poulain <fpoulain@metrodore.fr> a écrit :
Does someone have on hint?
I tried to remove all dirs and re-start using doveadm backup as did in https://dovecot.org/pipermail/dovecot/2019-December/117963.html but it didn't worked better.
François
-- François Poulain <fpoulain@metrodore.fr>
On 31. Oct 2020, at 16.19, François Poulain <fpoulain@metrodore.fr> wrote:
Le Sat, 31 Oct 2020 13:36:32 +0100, François Poulain <fpoulain@metrodore.fr> a écrit :
Does someone have on hint?
I tried to remove all dirs and re-start using doveadm backup as did in https://dovecot.org/pipermail/dovecot/2019-December/117963.html but it didn't worked better.
So if you delete *everything* from the target server and start from scratch with "doveadm backup" it still fails to sync INBOX?
Can you collect debug logs and possibly imapc rawlogs from such session?
Sami
"François" == François Poulain <fpoulain@metrodore.fr> writes:
François> Le Sat, 31 Oct 2020 13:36:32 +0100, François> François Poulain <fpoulain@metrodore.fr> a écrit :
I am trying to import a mail IMAP account using doveadm.
François> Am I wrong trying to do so?
I think so. Have you tried 'imapsysnc' or other imap downloading tools?
participants (3)
-
François Poulain
-
John Stoffel
-
Sami Ketola