How to migrate mail to a new server

Marco van Putten marco.vanputten at tudelft.nl
Fri Feb 19 10:03:36 EST 2010


J. Roeleveld wrote:
> Hi All,
> 
> I have been reading the thread about using "xfer" to migrate to a different 
> server or to use imapsync instead.
> Both methods appear to require some additional work and I would prefer to 
> simply copy the data across instead of using synchronization tools on live 
> servers. (It's not a requirement to keep the email accessible during the 
> transfer)
> 
> I have around 21GB of mail to copy across and was wondering how best to do 
> this.
> The mail server can (and most likely will) be stopped during the transfer.
> 
> Will it be sufficient to simply copy the "/var/imap" and "/var/spool/imap" 
> folders across?
> The contents of "/var/spool/imap" are all the emails and the db-files and such 
> appear to be in "/var/imap"


I've done the copy method several times without loosing any mail.
In all cases after stopping the mail services before the copy action.
Don't know if its the best/preferred/nicest method but it works for me...

Bye,
Marco.


> 
> Or will this cause problems and is there a better/recommended method of doing 
> this?
> 
> Many thanks in advance,
> 
> Joost Roeleveld
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


More information about the Info-cyrus mailing list