atom feed6 messages in net.sourceforge.lists.courier-users[courier-users] Transfer mail queue t...
FromSent OnAttachments
Bowie BaileyMay 17, 2006 1:34 pm 
Sam VarshavchikMay 17, 2006 3:17 pm 
Bowie BaileyMay 18, 2006 8:47 am 
Binand SethumadhavanMay 18, 2006 9:58 am 
Daniel FaberMay 20, 2006 5:47 pm 
Sam VarshavchikMay 20, 2006 6:05 pm 
Subject:[courier-users] Transfer mail queue to a new machine
From:Bowie Bailey (Bowi@BUC.com)
Date:May 17, 2006 1:34:40 pm
List:net.sourceforge.lists.courier-users

I seem to recall that this question has been asked before. But a search of the archives via Google didn't turn up anything.

My mail system is currently running on a temporary server. I have rebuilt my primary server and am ready to migrate back onto it. I can copy over the maildirs with no problem, but I was wondering about the mail queue.

Since both servers are running the same version of Courier installed with the same settings, I think I should be able to move the queue over to the new server simply by copying over the /var/spool/courier directory structure (while Courier is shut down on both servers). Will this work? Is there a better way to do it?

The goal is to shut down the old server, rsync the maildirs and queue files to the new server, and then start up the new server with a minimum of downtime for the users.

Unfortunately, I can't test this procedure without building a third Courier server which I don't currently have the hardware for.

Thanks,