Loading...

Knowledge Base

cPanel Webmail Error: UID SORT Internal Server Issue

Occasionally, while accessing the Webmail interface on a cPanel server, you may encounter the following error, and the inbox may fail to load:

Server Error: UID SORT: Internal error occurred

This issue is generally caused by incorrect permissions on the mailbox files.

Troubleshooting Steps

  1. Check the mail log file:
    /var/log/maillog
  2. You may find entries similar to the following:
    Jan 20 09:05:25 bh-24.webhostbox.net dovecot: imap([email protected])<1015847><YL2Fl46cmel/AAAB>: Error: Mailbox INBOX: open(/home/user/mail/domain.com/sales/cur/1423456500.H387374P1027032.bh-24.webhostbox.net,S=255260:2,) failed: Permission denied (euid=2945(user) egid=2945(user) missing +r perm: /home/user/mail/domain.com/sales/cur/1423456500.H387374P1027032.bh-24.webhostbox.net,S=255260:2,)

Resolution
This is a mailbox permission issue and can be fixed by running the following command as root:

/scripts/mailperm username

Replace username with the actual cPanel account username.
This script resets the correct permissions for all mail-related files and should resolve the Webmail access issue.

Loading...