[Dovecot] dsync not copying all mail

Nick Rosier nick+dovecot at bunbun.be
Mon Jan 10 21:25:39 EET 2011


Timo Sirainen wrote:
> On 10.1.2011, at 15.59, Nick Rosier wrote:
>
>> I'm still trying to migrate from Dovecot 1.2.16 to 2.0.7 on FreeBSD. Previous attempts have failed with mails not being visible after the upgrade. Version 1.2.16 was migrated from maildir to dbox about a year ago via the convert-plugin. After previous attempts to "clean" the hybrid maildir-dbox situation I used imapsync to copy all mails from the old account to a new account. I would assume in this case I get a clean dbox-mailmap. I tried to run dsync on this new map but noticed a lot of mails are not syncing:
>
> Hmm. I thought I already answered this. Maybe I got distracted while answering it and aborted..
>
> Anyway, you need a different way to migrate the hybrid maildir. http://dovecot.org/list/dovecot/2010-September/053012.html had some old ideas, but there is a newer program explained in http://dovecot.org/list/dovecot/2010-November/055191.html and the program itself is slightly updated in http://dovecot.org/list/dovecot/2010-November/055192.html. Save the attachment.bin into dbox-dehybrid.c and compile and run it. Get backups. :)
>
Hi Timo,

you had indeed answered this; I tried the utility but it did not help. 
That's why I tried the imapsync approach in hope that would clean the 
messages and create a new dbox-only account. I also ran the utility on 
the synced mailboxes and retried dsync but that did not fix it either. 
I'm really puzzled to why this is. How can I recognize a hybrid mailbox? 
All mailboxes only contain dovecot.index, dovecot.index.log, dbox.index 
and u.* files.

N.


More information about the dovecot mailing list