Moving IMAP mails to an another server
Balazs Pocze
banyek at zpok.hu
Tue Nov 22 08:27:48 EST 2005
Hi!
So, I had to change my old imap server for a new one, but I don't know
how to move the imap datas.
On the old server I do the following:
#su - cyrus -c "/usr/sbin/ctl_mboxlist -d" > /srv/backup/mboxlist (It
runs debian)
and then make a tar.gz backup of the /var/spool/cyrus/mail directory
on the new computer I make the following:
#cat mboxlist | su - cyrus -c "/usr/local/cyrus/cin/ctl_mboxlist -u"
# that restores the database
#su - cyrus -c "/usr/local/cyrus/bin/reconstruct" # it creates the
entries
the I unpack the tar archive of the mailboxes.
(I create the users on saslbd, etc. )
but there is my problem:
all messages are unread, and that is not exactly what I need.
Or I make something wrong?
Please help me.
Best regards,
banyek
P.s.: Sorry for my english, it is not so good, I know, but I hope it is
understandable ;-)
More information about the Info-cyrus
mailing list