imap migration (fwd)
ken at hudat.com
Thu Jan 8 14:34:58 EST 2004
Sorry about that... To all that mentioned "just copy the spool over", that
isn't possible for me. I'm running 2.1.something with virtual domains
support through an lmtp hack that let me have "user at domain" as the mailbox
name. So, I can't just bring it over. But thanks anyways :-)
Besides, my spool and most binaries are in /opt. No offense to Mr. Matter,
but I don't trust any critical add-on package that I don't tend to compile
On Thu, 8 Jan 2004, Joe Hrbek wrote:
> There are a lot of fun ways to move imap stuff from cyrus to cyrus. I do it
> all the time because I seem to be in a perpetual state of server
> upgrades/shuffles. My boss likes to keep me busy I guess. Anyway, moving
> from cyrus 2.1 to 2.2 is cake. Sorry I didn't see your post earlier, I
> don't ususally read the cyrus archives unless I have a problem myself. I'm
> just bored today so i'm answering emails. I see you already had a few
> responses, but none that were as simple as mine, so here goes.
> Unless you are moving from 1.x to 2.x, all you really need to do is copy the
> cyrus spool and the imap folder. I use redhat (moving to gentoo though b/c
> of the termination of redhat support for 8/9). Consequently, I use simon
> matter's RPM for cyrus imap, it's great. Anyway, my spool is in
> /var/spool/imap, as it with most other setups. My DBs are in /var/lib/imap,
> most people have this in /var/imap, so this may be the case for you. So,
> when I say your lib directory, I mean /var/lib/imap (or /var/imap, wherever
> you have your mailboxes.db file).
> If you use rsync, it's preinstalled on redhat, you just have to enable the
> xinet.d file, your about 5 min from having a completely migrated system.
> Just set rsync to copy, in archive mode, your spool and lib directory to
> your new computer. Do a ctl_cyrusdb -r before you start up your new cyrus
> server, and you should be golden. Everything will be preserved. :) I tell
> rsync to use ssh to transfer the files, so I don't need to open any ports or
> anything like that, since I use ssh for pretty much everything I can.
> Really there is no need for elaborate "migration" tools when you have things
> like rsync. There are a lot of other ways to do this as well, but this is
> by far the easiest, especially if you don't know the ins and outs of cyrus
> and everythign that goes along with making it work. This is of course
> dependent on having to identical spool setups and lib directories. :)
> If you want more info, feel free to ask, this is just an fyi email since you
> already have this done.
> Oh yeah, you might want to stop cyrus before you rsync it.
Let he who is without clue kiss my ass
More information about the Info-cyrus