Moving IMAP mails to an another server
Scott M. Likens
damm at yazzy.org
Tue Nov 22 09:39:23 EST 2005
You forgot /var/imap (or it's equivilent)
Which stores the 'seen' database.
You can of course archive it and copy it over, but you'll more then
likely have to do a db_dump and try and import it. Because it may not
be the same exact version of bdb. If that is of course the case, you'd
have to dump/restore it.
Otherwise, live with the small price you paid. Mark all as read, and
On Tue, 22 Nov 2005 14:27:48 +0100
Balazs Pocze <banyek at zpok.hu> wrote:
> 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
> 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,
> P.s.: Sorry for my english, it is not so good, I know, but I hope it
> is understandable ;-)
> 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
"What does one want when one is engaged in the sexual act?
That everything around you give you its utter attention
Think only of you, care only for you...
Every man wants to be a tyrant when he fornicates"
More information about the Info-cyrus