The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Dont see all emails after migration to new hosting account

Discussion in 'E-mail Discussions' started by studiowizjo, Sep 8, 2014.

  1. studiowizjo

    studiowizjo Member

    Joined:
    May 12, 2014
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I had to migrate some webisites with emails from one account to another (on the same server). I did it in following steps:

    1. Copied all files from "public_html" to the new account.
    2. Copied folders: "/mail" and "/etc" to the new account
    3. Removed domain from cpanel -> addon domains and assigned it with the same way on another server

    After that:
    - Websites works fine
    - I can seen in the "cpanel -> email accounts" emails that were migrated

    But the problem starts after logging to the mailbox (using Roundcube):
    1. Emails which were marked as readed are now marked as "unread"
    2. There are missing many emails (from about 2 years), but mailbox shows that the same size of occupancy which was before migration. Ive double checked that all files from "mail" folder was copied successfully.

    How to solve this problem? Especially with missing emails.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. studiowizjo

    studiowizjo Member

    Joined:
    May 12, 2014
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    What do you mean by "subscribed to all mail folders in Roundcube"?

    Admin of my server has informed me that my problem can be connected with bad chmod`s of folders and files, but it`s quite strange that some mails migrated and some not. Why some of them should have correct chmods while some not? I`ve compared chmods on both servers, but it didnt solved the problem.

    Is there any other thing I can do?

    Imapsync seems to be the best way, but I dont know how to install it on my server. How I can get to the command line on my server to do that? I know its very noobie question, but these are new things for me.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  5. studiowizjo

    studiowizjo Member

    Joined:
    May 12, 2014
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I have reseller access, so I can get into WHM and Cpanel for each account.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You are limited in the actions you can take to resolve the issue if you do not have root access. As far as permissions/ownership values, it's difficult to say why they did not copy over successfully, as you did not post the commands you used to copy them. Is your hosting provider able to run "/scripts/mailperm $username" for your account to see if that helps?

    Thank you.
     
Loading...

Share This Page