Hi,

I am trying to import a mail IMAP account using doveadm.

Following
https://serverfault.com/questions/605342/migrating-from-any-imap-pop3-server-to-dovecot

I did it with:

doveadm -D -v  \
        -o imapc_host=mail.oldserver.tld \
        -o imapc_user=cont...@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 cont...@domain.org imapc: 

Btw I am facing with exactly the same error than:
https://serverfault.com/questions/960264/doveadm-backup-doesnt-transfer-mail-from-root-inbox

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(cont...@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(cont...@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(cont...@domain.tld): Debug: brain M: Mailbox INBOX: 
local=deadbeefdeabbeefdeadbeefdeabbeef/0/1, 
remote=00000000000000000000000000000000/0/0: mailbox not selectable yet
dsync(cont...@domain.tld): Debug: brain S: Mailbox INBOX: 
local=00000000000000000000000000000000/0/0, 
remote=deadbeefdeabbeefdeadbeefdeabbeef/0/1: mailbox not selectable yet
dsync(cont...@domain.tld): Debug: brain S: Ignore nonexistent mailbox GUID 
deadbeefdeabbeefdeadbeefdeabbeef with -1 sync
dsync(cont...@domain.tld): Debug: brain S: We don't have mailbox 
deadbeefdeabbeefdeadbeefdeabbeef
dsync(cont...@domain.tld): Debug: brain M: Change during sync: Remote lost 
mailbox GUID deadbeefdeabbeefdeadbeefdeabbeef (maybe it was just deleted?)
dsync(cont...@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 <fpoul...@metrodore.fr>

Reply via email to