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.

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

Discussion in 'E-mail Discussions' 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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,086
    Likes Received:
    1,288
    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.
     
  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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,086
    Likes Received:
    1,288
    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.
     
  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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,086
    Likes Received:
    1,288
    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.
     
  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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,086
    Likes Received:
    1,288
    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.
     
Loading...

Share This Page