Re: how to recover imap mail/ dir from old server, import into new server

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

 



On Thu, 2006-05-25 at 12:17 +0100, Steve Howe wrote:
> Hi there,
> 
> First time posting here so apologies if this question has (most likely) 
> been asked before. have looked in the archives of this list but can't 
> find it.
> 
> My Cyrus Imapd mail server has crashed (hardware error). I have access 
> to the hard drives but it has taken me some time to buy a new server and 
> install a new cyrus imapd.
> 
> 
> Basically, I've got my previous server's /var/spool/cyrus/mail/ 
> directory with all it's subfolders (s/user/stephen etc) and I'd like to 
> import the mail files in there (1. 2. 3. etc) into my new
> imapd's mailstore. I've read and experimented that it's not a case of 
> just dump the mails in the appropriate folder, since a mail has to go 
> through the proper channels,
> be registered in cyrus.index etc so that my mail client knows which 
> headers are available, which files they relate to etc.
> 
> Is there a tool available for this purpose please?

First you have to ask a question how big is the difference in the 
internal structure used by your old cyrus ( you forgot to give us the 
version ) and the one you're preparing now.

It may be you can simply copy whole old tree and tell cyrus to
reconstruct mailboxes ( check 'reconstruct' binary ).

I add my question: in the old times ( 1.6 ) one needed to
"reconstruct" quota manually ( ie. count the mailbox on his own and
create quota files manually ). Is it still the case?

M.

-- 
Miroslaw "Psyborg" Jaworski
GCS/IT d- s+:+ a C++$ UBI++++$ P+++$ L- E--- W++(+++)$ N++ o+ K- w-- O-
M- V- PS+ PE++ Y+ PGP t 5? X+ R++ !tv b++(+++) DI++ D+ G e* h++ r+++ y?

----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux