cPanel Server Error: UID SORT: Internal error occurred. Refer to server log for more information

Webmail users (Horde or Roundcube) on cPanel server may occasionally see the following error when attempting to access the mailbox: Server Error: UID SORT: Internal error occurred.

It's a permission issue which can be fixed by following Shell command:

/scripts/mailperm username

Manual steps:
ls -la /home/user/mail/
chow -R user.user /home/user/mail/

If not resolved, please check the maillog for further investigation:

grep domain.tld /var/log/maillog or cat /var/log/maillog | grep domain.tld

Move and corrupt files to a backup location and restart Dovecot
WHM > Restart Service > IMAP

  • 8 Users Found This Useful
Was this answer helpful?

Related Articles

530 Relaying not allowed in a Email Clients

This error occurs when a user or mail client attempts to send email without authenticating on the...

How to do a Telnet

Telnet is used to test open ports or administer remote servers via the command prompt.The telnet...

How to do a Tracert

A traceroute is a function which traces the path from one network to another. It allows us to...

How to do a Ping

Ping is a command used to test whether a host is reachable via your internet connection. The...

Error Page Codes

These are probably the most common error codes that a visitor might see, you may like to create...