Iain Stevenson schrieb: > > --On Monday, October 14, 2002 9:25 am +0200 Simon Matter > <[EMAIL PROTECTED]> wrote: > > > > > I implemented some db converting mechanisms which will > > automagically convert any dbs on the fly. > > Interesting, are these conversion tools available outside your RPMs? I > have a PPC mail server (loosely based on Yellowdog Linux, which is itself > Red Hat based) but built my own Cyrus installation.
You could adopt the script for any package you like. The script is called from the cyrus init script and it does the following: - It reads a config file which contains the db configs of the currently installed cyrus imapd binaries. This file is created within the rpm build process. - Determine the db format of every db file using the file command, with an enhanced magics file containing skiplist and possible future backends. - Convert db files as needed. - Write the current db configs to a cache file to prevent big servers from converting all their dbs on every startup (which is my default). For more info you may have a look at the source rpm. Simon > > Iain