Bug#369882: cyrus-doc-2.2 upgrade issues

Ross Boylan ross at biostat.ucsf.edu
Thu Jun 15 20:38:05 UTC 2006


On Wed, 2006-06-14 at 15:02 +0200, Sven Mueller wrote:
> Ross Boylan wrote on 13/06/2006 19:49:
> > On Tue, 2006-06-13 at 12:32 +0200, Sven Mueller wrote:
> > 
> >>Well, I can at least give a quick answer on this:
> >>Neither 2.1 nor 2.2 differ that much from upstream that the upgrade path
> >>is affected. Actually, IIRC, the upgrade from 2.1 to 2.2 is usually just
> >>removing 2.1 and installing 2.2, since both use Berkeley DB 4.2 and the
> >>same config files and config format. A backup before upgrading and some
> >>tests after upgrading is still recommended though.
> >>At least it worked that way for me when I upgraded my own mailserver.
> > 
> > That's a little surprising in view of the upgrade instructions at
> > http://cyrusimap.web.cmu.edu/imapd/install-upgrade.html
> > 
> > Although they appear to be for 2.3, they seem to imply big changes in
> > the default database format (from db to skiplist) for some files at the
> > 2.1/2.2 boundary.
> 
> Well, I guess you are talking about this paragraph, right?
> CR> The default database formats for the mailbox list and the seen state
> CR> databases has been changed to the skiplist backend. There are two ways
> CR> of dealing with this if you have been using the defaults.
> CR>
> CR>    1. Specify --with-mboxlist-db=berkeley and --with-seen-db=flat to
> CR>       configure. This will instruct Cyrus to continue to use the
> previous
> CR>       defaults.
> CR> [...]
Yes, although subpoint 2 is more relevant to someone dealing with an
already compiled program.
> 
> Well, if that is true, than there really is nothing to do regarding the
> databases. The Debian packages since at least 2.1 use
> --with-mboxlist-db=skiplist --with-seen-db=skiplist, so there really is
> no change here from Debian package 2.1.* to 2.2.13-3.
Does this mean that Debian departed from upstream for 2.1?  Because the
upstream notes seem to imply that the databases were not skiplist at
2.1.

Also, the news that it's all skiplist is suprising in view of the
exchange in 342660.  As I noted earlier, it seems to say that Debian
uses bdb, although it also refers to that as being consistent with
upstream (which it's not, if upstream is skiplist).
> 
> > I'm glad to hear that no special conversion action is required, though I
> > wonder if that's too good to be true.
> 
> Glancing over the upgrade readme from upstream, it reminded me of one
> thing you will need to do during the upgrade though: You need to run
> masssievec if you use sieve for anything, because cyrus21-imapd used
> plaintext sieve scripts while cyrus-imapd-2.2 uses precompiled bytecode
> files (automatically compiled when uploaded with sieveshell or an
> equivalent, the plaintext file is still stored on disk and is presented
> when downloading the script later on).
I assume those instructions apply only to sieve scripts stored on the
imap server, not those in regular user home directories (another point
it would be useful to clarify).  (I mean the IMAP server conceptually;
user home directories might be on the same box as the IMAP server, but
they aren't under the control of the server).

The upstream document also refers to some changes in the syntax and
semantics of configuration files.

Ross





More information about the Pkg-Cyrus-imapd-Debian-devel mailing list