[Dovecot] dsync not copying all mail
Timo Sirainen
tss at iki.fi
Mon Jan 10 21:38:20 EET 2011
On 10.1.2011, at 21.25, Nick Rosier wrote:
> 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.
If there are no filenames that begin with a number, then it's not a hybrid mailbox. If there are more u.* files than number of messages in a converted mailbox with dsync, then .. well .. I'd just use Dovecot v2.0 on the original non-converted mailbox:
doveadm -u username force-resync INBOX
This will make sure all of INBOX's u.* files are in the index files. Do the same for the rest of the mailboxes too.
More information about the dovecot
mailing list