- Copy the 'mailboxes' file from the old Cyrus 1.5.19 to the new machine somewhere.
- Run the command: su <cyrus_user> -c "/path/to/cyrus-2.0.14/bin/ctl_mboxlist -u < /path/to/old/cyrus/mailboxes"
- This command creates a mailboxes.db with the information from the old mailboxes file.
- I created a dot-patch (user/ instead of user.) a while ago for my
customers, which means I had to edit the 'mailboxes' file and replace all
dots with slashes before I could import it into Cyrus 2.0.14. You can safely
skip any modifications to the 'mailboxes' file.
- Tar up your mailstore on the old server. ie: tar -zcvf cyrus-mboxes.tar.gz /path/to/cyrus-1.5.19_partitions
- Tar up your quotas if you have them. ie: tar -zcvf cyrus-quotas.tar.gz
/path/to/cyrus-1.5.19/quota
- ftp or scp the cyrus-mboxes.tar.gz and cyrus-quotas.tar.gz to the new server.
- Untar the mailstore to the proper location, and ensure that your new imapd.conf correctly reflects the old partition scheme.
- The partition scheme must be identical, or you're going to find yourself
making changes to the mailboxes.db and quotas.
- Untar the quotas to the proper location ie: the imapd.conf's <config_directory>/quota
.
- Reconstruct your mailbox headers and quotas for to ensure integrity.
- su <cyrus_user> -c "/path/to/cyrus-2.0.14/bin/reconstruct"
- su <cyrus_user> -c "/path/to/cyrus-2.0.14/bin/quota -f"
- Start the 'master' process...
- Cross your fingers and test some mailboxes!
-David Fuchs
Jesse Ahrens wrote:
[EMAIL PROTECTED]"> Hi,
I have to admit a fair amount of greenness in this so bear with me. I'm trying to migrate the mailboxes from a solaris 7 box running Cyrus IMAP 1.5.19 to a FreeBSD 4.4 box running Cyrus 2.0.14. If anyone has a guide or a URL to do this I'd be extremely grateful for any knowledge anyone can lend. Thanks in advance.
Jesse Ahrens
Unix Systems Administrator
Meridian Advertising
4850 G St.
Omaha, NE 68117
402-733-6400 x266