Cannot log in into Roundcube on some domains:
PLESK_ERROR: Connection to storage server failed
PLESK_ERROR: Server Error: SELECT: Internal error occurred. Refer to server log for more information.
The following error is shown upon log in to Roundcube:
An error has occurred !
Server error: STATUS: Internal error occurred. Refer to server log for more information. [2018-11-15 16:15:30] (0.001 + 0.000 secs).
The error like the following can be found in
# cannot chdir to domain dir example.com: Permission denied
courier-imaps: [email protected]: Account's mailbox directory is not owned by the correct uid or gid
dovecot: Error: service=imap, [email protected], ip=[184.108.40.206]. Mailbox INBOX.Spam: open(/var/qmail/mailnames/example.com/john.doe/Maildir/.Spam/dovecot-uidlist) failed: Permission denied
Permissions for the folder
/var/qmail/Mailnames/example.com/john.doediffer from the following:
# ls -ls /var/qmail/mailnames | grep example.com
4 drwx—— 5 popuser popuser 4096 example.com
# ls -la /var/qmail/mailnames/example.com/john.doe
drwx—— 6 popuser popuser 4096 Maildir
Wrong permissions for
/var/qmail/Mailnames/example.com folder or
Connect to the server via SSH.
Run the following command to fix the ownership for mailfolders:
# chown -R popuser:popuser /var/qmail/mailnames