migrating mailboxes between cyrus-imap servers

Kjetil Torgrim Homme kjetilho at ifi.uio.no
Sat Feb 11 20:27:15 EST 2006


On Sat, 2006-02-11 at 21:57 +0000, Tony wrote:
> If I do this on a sample mailbox's seen list:
> /usr/lib/cyrus-imapd/cvt_cyrusdb /var/lib/imap/user/a/auser.seen
> flat /var/lib/imap/user/a/auser.seen.new skiplist 
> 
> then I get the following in /var/log/maillog:
> 
> Feb 11 21:48:52 server cvt_cyrusdb[30400]: DBERROR db4: Program
> version 4.2 doesn't match environment version
> Feb 11 21:48:52 server cvt_cyrusdb[30400]: DBERROR: dbenv->open
> '/var/lib/imap/db' failed: Invalid argument 
> Feb 11 21:48:52 server cvt_cyrusdb[30400]: DBERROR: init() on berkeley
> 
> which seems pretty odd to me. 
> 
> Does anyone else recognise this error?

when I did a similar migration, I compiled the new Cyrus against DB3,
too, just to get a copy of cvt_cyrusdb which could handle it.  the rest
of Cyrus I discarded.  using that, I could convert DB3 to DB4 via
flatfile and the new cvt_cyrusdb, or directly to skiplist.
-- 
Kjetil T.




More information about the Info-cyrus mailing list