[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: switching to cyrus21



Stefan Immel wrote:
> Hi
> 
> currently I'm using debian 3.1 with the old cyrus and I like to switch to
> cyrus21. But I need to keep my old mailboxes, so what exactly do I need to
> do?
> 
> Regards
> 
> Stefan "Starocotes" Immel
> 
> 
> 

Disclaimer: My cyrus experience is limited to FreeBSD but the principles
are the same.

Your two main issues are:

1. keeping db backends consistent between versions (or at least doing
the necessary gymnastics to convert between them)

2. switching from saslv1 to saslv2, since 2.1x and greater requires it.

Check out these links:

http://acs-wiki.andrew.cmu.edu/twiki/bin/view/Cyrus/Backup

http://acs-wiki.andrew.cmu.edu/twiki/bin/view/Cyrus/WhatDatabaseBackend

http://asg.web.cmu.edu/cyrus/download/imapd/

There's also a fairly active Cyrus mailing list that's worth consulting
since I recall this question coming up at least a couple of times in the
past when I was monitoring that list.

Depending on your comfort-level you might want to consider building
everything from source and going with 2.2x instead of 2.1x since it's in
maintenance-only mode and could fall out of support soon.

Alternatively, you could use a mail client like Sylpheed to export your
mail folders to mbox format and then re-import them into the new cyrus
and let it handle everything. While this method can be much simpler in
most cases, if you've got large amounts of mail and numerous folders it
will be almost too painful to bear. Stick with the "official method" in
that case. Doing the mbox transition also means you have to reset quotas
and the "seen" database.

Good luck,

G




Reply to: