[Dovecot] importing plain mboxes to dovecot maildirs

Timo Sirainen tss at iki.fi
Mon Mar 19 16:02:43 EET 2012


On Sat, 2012-03-17 at 18:29 +0100, Radim Kolar wrote:
> > dsync(admin): Error: Failed to sync mailbox sent-mail-feb-2012: Mailbox GUIDs are not permanent without index files
> > Well, you can work around if by letting it create indexes. Hm. Why exactly can't it create indexes? Do you have some setting disabling them?
> indexes never existed because these mboxes were never used by dovecot, 
> its not conversion from one format to another, its import.
> 
> Maybe open bug to add feature "dsync import" which will not depend on 
> existing indexes?

dsync doesn't need existing indexes, it wants to create indexes. If it
can't because of e.g. permission issues, you should be able to work
around it with:

dsync mirror mbox:~/mail:INDEX=/tmp/indexes

I might change dsync at some point to work even without permanent
mailbox GUIDs, but there are many other more important things to do.




More information about the dovecot mailing list