Bertrand Leboeuf
2006-Mar-16 20:30 UTC
[Dovecot] Converting huge mbox to Dovecot mbox + indexes
Migrating from UW IMAP/Qpopper mbox to Dovecot mbox. I have ~500 users, some with HUGE mbox (500MB-1GB), is there a script to create the Dovecot indexes at night to help speed up the migration process. Any idea. Thanks Bertrand Leboeuf leboeuf at emt.inrs.ca
Johannes Berg
2006-Mar-17 13:12 UTC
[Dovecot] Converting huge mbox to Dovecot mbox + indexes
On Thu, 2006-03-16 at 15:30 -0500, Bertrand Leboeuf wrote:> I have ~500 users, some with HUGE mbox (500MB-1GB), > is there a script to create the Dovecot indexes at night > to help speed up the migration process.If you use the dovecot converter then indexes will be built during the conversion. johannes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 793 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20060317/5c439c50/attachment.bin>
Bertrand Leboeuf
2006-Mar-17 17:42 UTC
[Dovecot] Converting huge mbox to Dovecot mbox + indexes
>From: Johannes Berg <johannes at sipsolutions.net> > >On Thu, 2006-03-16 at 15:30 -0500, Bertrand Leboeuf wrote: > >> I have ~500 users, some with HUGE mbox (500MB-1GB), >> is there a script to create the Dovecot indexes at night >> to help speed up the migration process. > >If you use the dovecot converter then indexes will be built during the >conversion. > >johannesGood, can I use convert-tool to do: mbox -> mbox + indexes I have not tested the maildir configs yet and I will have to deal with the number of files and their placement. Bertrand
Bertrand Leboeuf
2006-Mar-17 19:16 UTC
[Dovecot] Converting huge mbox to Dovecot mbox + indexes
My mistake, good point. I thought that creating the indexes would take a long time, but after a couple of tests, I found that Dovecot is so fast that it beats UW IMAP even while creating the indexes and after that, it is just fast. Thanks Bertrand>From: "David A. Lee" <dlee at calldei.com> > >I'm curious why this is an issue ? Wont dovecot make the indexes on first >use of the mbox if it finds no indexes ? > > > >> >From: Johannes Berg <johannes at sipsolutions.net> >>> >>>On Thu, 2006-03-16 at 15:30 -0500, Bertrand Leboeuf wrote: >>> >>>> I have ~500 users, some with HUGE mbox (500MB-1GB), >>>> is there a script to create the Dovecot indexes at night >>>> to help speed up the migration process. >>> >>>If you use the dovecot converter then indexes will be built during the >>>conversion. >>> >>>johannes >> >> Good, can I use convert-tool to do: mbox -> mbox + indexes >> >> I have not tested the maildir configs yet and I will >> have to deal with the number of files and their placement. >> >> Bertrand >> >>