Questions around moving from 2.2.12 to 2.4.12

Adam Tauno Williams awilliam at whitemice.org
Wed Feb 29 07:38:24 EST 2012


On Wed, 2012-02-29 at 13:17 +0100, Stefan G. Weichinger wrote:
> Am 29.02.2012 12:47, schrieb Bron Gondwana:
> > Make sure you get /var/imap or wherever the DB files are stored as
> > well, /var/spool/imap is just the emails - you want to keep the
> > indexes!
> Afai understand this would mean these 3 dirs:
> configdirectory: /var/lib/imap
> partition-default: /var/spool/imap
> sievedir: /var/lib/sieve

Yes.

> > Your biggest risk is berkeley DB files.  If you are using berkeley, 
> > either convert to skiplist first, or dump and restore.
> sigh ... I don't even *know* if I use berkeley.
> I suspect, yes, I see db-files in /var/lib/imap
> # ls /var/lib/imap
> annotations.db
> db
> db.backup2
> deliverdb
> mailboxes.db
> [...]

"file {filename}" should tell you what they are. With 2.2.x it is likely
they are Berkeley.   Berkeley is an administrator's nightmare.  If they
Berkelely convert them and make sure the server still works *BEFORE*
migrating if you are using a rsync method.

> Is the conversion hard to do?
> What do you recommend?

cvt_cyrusdb  [I think this was around in 2.2x?]

<https://sourceforge.net/projects/coils/files/WMOGAG-Coils.pdf/download>
see page 97

You'll probably need to change the database type in imapd.conf as well.
> > Beware of mailbox sort order issues if you change that config.
> You talk of the sort order in the mail-clients view

No, it is sorting order in the database.  It is much easier to convert
everything before migrating.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20120229/6004ca36/attachment.bin 


More information about the Info-cyrus mailing list