Am Dienstag, 8. November 2011, 15:16:12 schrieb Ralf Hildebrandt:
Hi,
I wonder how I can incrementally change over from Maildir to mdbox?
If you have double diskspace:
Just use "dsync mirror" in the background to prepare the change. After that it's just a short downtime to migrate incremental the last changes, or it's just a question of a short login-script.
if [ -d ~/Maildir ] ; then dsync mirror voodoo-magic rm -R ~/Maildr fi
I can of course use dsync to mirror Maildir: to mdbox:, but how can I make dovecot look at Maildir FIRST and (if that fails) at mdbox? (or vice versa).
I wonder about that problem too. Even the last-last-last-quick sync would be so much IO, that I can't handle it in realtime in the morning at 9 a.m.
Looks like a nightly downtime for the last incremental run.
It would be MUCH easier if Dovecot could read maildir: or mdbox: from LDAP attributes. In this case the whole migration process could be split up into groups. Unfortunately we have shared folders and I don't know a way to read the *remote* mailbox-format from LDAP... So having users with maildir and mdbox mixed up will break their shared folders...
Peer
--
Heinlein Professional Linux Support GmbH Linux: Akademie - Support - Hosting http://www.heinlein-support.de
Tel: 030/405051-42 Fax: 030/405051-19
Zwangsangaben lt. §35a GmbHG: HRB 93818 B / Amtsgericht Berlin-Charlottenburg, Geschäftsführer: Peer Heinlein -- Sitz: Berlin