Moving Cyrus-imapd to new server
craigwhite at azapple.com
Fri Apr 15 02:37:52 EDT 2005
On Fri, 2005-04-15 at 07:56 +0200, Sasa Stupar wrote:
> --On vendredi 15 avril 2005 07:35 +0200 Simon Matter
> <simon.matter at ch.sauter-bc.com> wrote:
> >> -On jeudi 14 avril 2005 19:19 +0200 Sasa Stupar
> >> <sasa at stupar.homelinux.net>
> >> wrote:
> >>> Hi!
> >>> I am using Cyrus-imapd on FC3. Now I need to change the server so I will
> >>> move all users to a new server. What should I do to move all accounts,
> >>> messages, etc for cyrus-imapd to a new server which will also run on
> >>> FC3?
> >>> Regards,
> >>> Sasa
> >> OK, I have done backup of /Var/lib/imap and /var/spool/imap dir's, then I
> >> have copied these dir's to a new server, make sure everything is owned by
> >> cyrus user and then start cyrus-imapd. The problem is that when connected
> >> with an imap client I can see the headers of the messages but not the
> >> bodies - they are all blank. I have tried with reconstruct but after I
> >> ran it I loose even the headers from the messages.
> >> What am I doing wrong here?
> > I don't know what is wrong with you setup. What I know is that you have to
> > transfer
> > /etc/cyrus.conf
> > /etc/imapd.conf
> > /var/lib/imap
> > /var/spool/imap
> > to the new box and it works. How did you transfer?
> > Simon
> Yes, I did transfer all these files. I use SSH (winscp) to transfer.
chown cyrus:mail /var/lib/imap -R
chown cyrus:mail /var/spool/imap -R
Winscp ? for Linux to Linux ? ugh!
you really need to get comfortable with command shells - that is the
power of Unix/Linux.
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
More information about the Info-cyrus