Home Forums OS X Server and Client Discussion Mail Migrating from 10.3.9 server to 10.4.10

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #369963
    l008com
    Participant

    Hello
    My server is currently running 10.3.9 and hopefully soon I’ll be mailing a new hard drive to the data center that has 10.4.10 Server on it. All the web and database, vpn etc stuff is easy. Its just going to take time but otherwise will be a piece of cake to set up. However the mail has me a little confused. I have about 15 email accounts running on the server. All are users made in Workgroup Manger. We’re talking about a GB or so of very important email. All IMAP. So what is the best procedure to use, to go about getting the users and mailboxes to the new drive, which will essentially be a new machine?

    #369990
    gw1500se
    Participant

    Its not very difficult but make sure the mail service is turned off while you do this. All you need to do is copy /var/spool/imap from the old drive to the new one (mailboxes for all users). The old drive is no longer needed. Make sure ‘cyrusimap’ is the owner when you are done copying (sudo chown -R cyrusimap:mail /var/spool/imap). Next, remove the mail database directory, if it exists (sudo rm -rf /var/mail) and make a new one (sudo mkdir /var/mail). Initiaize a new mail database (sudo /usr/bin/cyrus/tools/mkimap). You need to fix the owner for that as well (sudo chown -R cyrusimap:mail /var/mail). Now you are ready to rebuild the database from the copied mailboxes (sudo /usr/bin/cyrus/bin/reconstruct -i). Piece of cake.

    Note that this assumes your database location is set to /var/mail/imap and the mail store location is set to /var/spool/imap using server admin. If you put them somewhere else you need to change the above accordingly.

    #370010
    l008com
    Participant

    What about users? At what point in the process do I create all of the mail users (via the Workgroup Admin app)? Do I create them before I do anything else? Or do I do this part somewhere within the process?

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Comments are closed