Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED Server Error in Webmail Inbox after transfer from another cPanel account

Discussion in 'E-mail Discussion' started by percolateddesign, Feb 14, 2017.

Tags:
  1. percolateddesign

    Joined:
    Feb 14, 2017
    Messages:
    5
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    UK
    cPanel Access Level:
    Reseller Owner
    I am transferring 5 email accounts from one cpanel hosting account to another. I created all the email accounts in the new cpanel hosting account and then copied the mail and the etc folders from the old hosting. All the emails appear to be there but I have opened webmail to check before changing the DNS. Four of the email accounts work fine but the largest one is showing a server error in the inbox, the error says "Server Error! (OK)".

    Any help would be much appreciated.
    Gale
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,698
    Likes Received:
    1,883
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You can try running the following command to ensure mailbox permissions are correct:

    Code:
    /scripts/mailperm $username
    Also, do you notice any specific output to /usr/local/cpanel/logs/error_log or /var/cpanel/roundcube/log/errors (when using Roundcube) when this happens?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. percolateddesign

    Joined:
    Feb 14, 2017
    Messages:
    5
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    UK
    cPanel Access Level:
    Reseller Owner
    My hosting company has updated the permissions for me but this doesn't seem to have fixed the problem.
    I have looked for the error logs at the paths you quoted above but I can't seem to find them. I have a logs file here /home/iseasurf/logs but I can't see any reference to errors or error_log
    Thank you for your help.
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,698
    Likes Received:
    1,883
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You won't have access to those logs as a reseller. Your hosting provider will need to review those logs to determine the cause of the problem.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. percolateddesign

    Joined:
    Feb 14, 2017
    Messages:
    5
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    UK
    cPanel Access Level:
    Reseller Owner
    Thank you for your help. I will ask the hosting company if they can send me the error logs.
     
  6. percolateddesign

    Joined:
    Feb 14, 2017
    Messages:
    5
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    UK
    cPanel Access Level:
    Reseller Owner
    Thank you for your help. The problem turn out to be the dovecot.index file for IMAP was corrupt, after removing this it appears that the inbox operates as expected again.
     
    cPanelMichael likes this.
  7. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,698
    Likes Received:
    1,883
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    I'm happy to see the issue is now resolved. Thank you for updating us with the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. suska

    suska Registered

    Joined:
    Jul 11, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Montreal
    cPanel Access Level:
    Reseller Owner
    Can you please let me know which dovcot.index file you deleted? Like which folder is it located in?
     
  9. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,698
    Likes Received:
    1,883
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    You'd generally remove the dovecot.index file that's located in the directory associated with the affected email account. EX:

    Code:
    /home/$username/mail/$domain.com/$email-account-name/dovecot.index
    You can also remove the files for a cPanel account through the following command if you have root access to the server:

    Code:
    /scripts/remove_dovecot_index_files --user $username 
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. Fortunatus

    Fortunatus Registered

    Joined:
    May 10, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Tanzania
    cPanel Access Level:
    Reseller Owner
    Hello Michael.. I am facing the same issue now.. i migrated email files from inmotion to hostgator and now am receiving server error when accessing ROUNDCUBE and OUTLOOK.. emails take long to load.. please help me Michael
     
  11. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,698
    Likes Received:
    1,883
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @Fortunatus,

    Your access level in your forum profile shows as "Reseller Owner". Do you have root access to either of these servers, or do you have reseller access only?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. Fortunatus

    Fortunatus Registered

    Joined:
    May 10, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Tanzania
    cPanel Access Level:
    Reseller Owner
    Hello Michael.. I bought a baby cloud site from hostgator.. So i have only access to the control panel.. Is that a root password you are asking? Or I should ask hostgator to give me root access.. I migrated emails from inmotion to hostgator.. thats when the problem starts..
     
  13. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,698
    Likes Received:
    1,883
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The cloud plans they provide offer root access as far as I know. Check with their support team for information on how you can access your server via SSH as the "root" user, as you'll need to do that in order to troubleshoot the issue.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. Fortunatus

    Fortunatus Registered

    Joined:
    May 10, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Tanzania
    cPanel Access Level:
    Reseller Owner
    I have asked them.. Looks like they dont provide user access as root.. But i can login through ssh using my cpanel user and password which i have tried already.. gives the same files as i can access through "file manager" in cpanel.. They only offer root access for dedicated and VPS.. what can I do now? Thank you..
     
  15. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,698
    Likes Received:
    1,883
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I recommend reaching out to their support team to report the issue with your emails so they can access the server from the root level to investigate further.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice