Moving Servers- Email issue

Discussion in 'Site & Server Administration' started by designventures, Dec 28, 2010.

  1. #1
    Hi,
    I am planning to move my website from one host server to another. I know moving files wont be big issue. But I am concern about my emails etc.

    I have 50+ emails for 10+ domains.

    I have created email on the hosting server. Now all my emails are auto forwarded to gmail. Also I have Pop access configured in gmail.

    If I move my host, will all my emails stop working? Is there a easy solution to move all emails to keep same settings, passwords etc on new server?
     
    designventures, Dec 28, 2010 IP
  2. RectangleMan

    RectangleMan Notable Member

    Messages:
    2,825
    Likes Received:
    132
    Best Answers:
    0
    Trophy Points:
    210
    #2
    You can set MX DNS on old server so that it point to new server. That should immediately set up new server for everyone. Then once all DNS records are propagated you can shut down old server completely.
     
    RectangleMan, Dec 28, 2010 IP
  3. designventures

    designventures Active Member

    Messages:
    251
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    71
    #3
    So does it mean i have to create all 50+ emails again on new server? Is there no way I can do it automatically?
     
    designventures, Dec 28, 2010 IP
  4. aassociatehit

    aassociatehit Well-Known Member

    Messages:
    1,778
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    140
    #4
    you don't have to create email ids, just move sites with full home directory backup, it will move all files, database, and emails, you have that option in cpanel to take a full home directory backup, that will move all email setting also
     
    aassociatehit, Dec 28, 2010 IP
  5. richammond

    richammond Active Member

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    86
    #5
    Are you using cpanel?? If yes, then you can use the backup feature, same as plesk which does quite the same. Otherwise, yes, you'll have to re-create the ids+domains on the new server and manually move the emails from old to new server.
     
    richammond, Dec 30, 2010 IP
  6. jarrodw

    jarrodw Peon

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Copy over the /etc/aliases or if you are using sasl the sasldb and the userdb's for your mail servers to the new host. Then to save the email for each user copy over all of maildirs for each user.

    Make sure that you preserve the permissions in the backup that you take because mbox format has specific permissions as well as Maildir.
     
    jarrodw, Dec 30, 2010 IP
  7. computerlaptop

    computerlaptop Peon

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    If im moving cpanel accts from and old server to a new server,
    is there any way to copy all the emails so my clients dont lose them some how with whm/ cpanel?
    Thanks,
     
    computerlaptop, Jan 5, 2011 IP
  8. aassociatehit

    aassociatehit Well-Known Member

    Messages:
    1,778
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    140
    #8
    move site from whm copy options and it will copy everything including mails, though make sure there is not much data or not hundreds of mails because whm does not support the big data move, and it may not move properly and you may have to move it by taking a full backup
     
    aassociatehit, Jan 5, 2011 IP