[Dovecot] importing plain mboxes to dovecot maildirs
Is there way to import old plain mboxes via dsync? It complains about lack of index files:
ponto:(admin)~>dsync mirror mbox:~/mail dsync(admin): Error: Failed to sync mailbox sent-mail: Mailbox GUIDs are not permanent without index files dsync(admin): Error: Failed to sync mailbox saved-messages: Mailbox GUIDs are not permanent without index files dsync(admin): Error: Failed to sync mailbox sent-mail-feb-2012: Mailbox GUIDs are not permanent without index files
On Sat, 2012-03-17 at 18:29 +0100, Radim Kolar wrote:
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.
participants (2)
-
Radim Kolar
-
Timo Sirainen