Cyrus - Upgrading flat mail to DB3

Rob Siemborski rjs3 at andrew.cmu.edu
Thu Aug 29 09:21:15 EDT 2002


On Thu, 29 Aug 2002, Matthew Tagg wrote:

> I have installed a clean install of Cyrus 2.1.7.

I urge you to use 2.1.8 instead.

> I tried copying over the raw files ../user/test/ etc. However I
> noticed version 2 stores them in alpabetic directories. I tried
> putting them in the root of /var/lib/imap/user/ and in
> /var/lib/imap/user/t - however it doesnt find them

It only uses alphabetic directories for the mail spool if you set
hashimapspool: t

> From the install help doc: "Warning:  Cyrus imapd 2.0 will
> automatically convert on-disk file formats as the server is used. " -
> I wish it would.

It will convert the index and header files.  You need to convert the
mailbox list yourself.

> Then I discovered something called "cvt_cyrusdb" which is meant to
> allow converting between backends but I dont know what to give for its
> parameters.

Strictly speaking, you shouldn't need to do anything with cvt_cyrusdb
unless you are specifying non-default backends for any of the databases
(you might want to consider skiplist for your mailbox list database, but
the mailbox list database can still be converted using ctl_mboxlist -d and
ctl_mboxlist -u anyway).

> I tried:
> 	bash-2.05a$ /usr/libexec/cyrus/cvt_cyrusdb
> 	/var/lib/imap/user/webafrica/ flat db3 /var/lib/imap/db/

This isn't working because your paramater order is screwed up, you should
read the manpage (and specify an exact file to convert).

> Surely this is a commong problem? Anyone had success?

Lots of people have had success in a 1.x -> 2.x upgrade.

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper






More information about the Info-cyrus mailing list