Moving mail to a new machine
Earl R Shannon
ershanno at unity.ncsu.edu
Tue Oct 14 08:45:31 EDT 2003
Hello,
If its just you, ie, one account, the easiest way would probably been
to simply drag and drop folders from one account (machine) to the
other. This would of course require that both machines be up and
running, which it sounds like you have.
Failing that, what you need to realise is that a directory is not
a folder. In order for a directory to be a folder it must be in
the mailboxes database. Getting the entry there would depend upon
the type of database you are using. I usually use the cyrus admin
tool or the Perl IMAP::Admin module to create folders.
Regards,
Earl Shannon
Gordon wrote:
> I previously had my imap server running on one machine that I had set up
> myself. I had several folders beside my inbox. I recently built a new
> machine with a new version of Redhat and I've built and installed the
> latest version of cyrus.
>
> I have cyrus running and configured but I'm having a heck of a time
> getting to my old mail files. What I've done is copy the whole directory
> tree of my mail files to the directory /var/spool/imap/g/user/gmc. I've
> gone into cyradm and created a mailbox called user.gmc and set the acl
> to write. I use mozilla for email and I was able to set it up and I can
> now see the emails from my old inbox. The problem is that I can't figure
> out how to get to the email that are in the other folders. They're in
> directories under the directory stated above. Can anyone help with this
> bit? Was there an easier way to do this?
>
> Gordon
>
More information about the Info-cyrus
mailing list