[Dovecot] tool for convertin mbox to maildir
Hello!
Can anybody advise me nice and well-tested script for converting mbox to maildir format that saves all message flags ?
I used mb2md 3.20 when I migrated all of MTU (~20,000 users) to maildir. I did tweak it a bit 'cuz I wanted it to go fast so I wrote a forking "wrapper" program around it. I also added the ability to detect and build the .customflags file and the dovecot-uidlist file for each folder so the users wouldn't even notice we switched to a different mail server (except for the down time :). For the most part, that is exactly what happened. The .customflags and uidlist file creation are optional and build files with a syntax appropriate for Dovecot 0.99.xx.
If you only need to move a few users I'd use mb2md w/o modification. If you need to move a LOT and fast, I'd recommend my tweaked code with the forking "wrapper". You can specify how many processes you would like it fork off. Should be pretty self explanatory. You can find it here:
http://svn.dcs.it.mtu.edu/email.mtu.edu/convert_tools/tags/mb2md-release-4.0...
Regards,
| Todd Piket | Email: todd@mtu.edu | | Sr. Programmer/Analyst | Phone: (906) 487-1720 | | Distributed Computing Services | | | Michigan Technological University | |
the.buratino@rambler.ru wrote:
Hello!
Can anybody advise me nice and well-tested script for converting mbox to maildir format that saves all message flags ?
You can use a tools like imapsync to sync account between your old IMAP server with Mbox to your new Dovecot / Maildir++
We use this tools to more than 10'000 accounts without any problem.
Le jeudi 29 juin 2006 à 16:56 -0600, Andy Cravens a écrit :
the.buratino@rambler.ru wrote:
Hello!
Can anybody advise me nice and well-tested script for converting mbox to maildir format that saves all message flags ?
md2mb worked best for me. I tried several utilities and this one had the fewest problem (none).
-- Dominique Feyer Administrateur Système Ch. de la Colline 5bis CH-1007 Lausanne dfeyer@net4all.ch
participants (4)
-
Andy Cravens
-
Dominique Feyer
-
the.buratino@rambler.ru
-
Todd Piket