Introduction
Occasionally, your users' mailbox permissions may be incorrect after a migration from another server. This can cause issues with sending and/or receiving email. cPanel includes the mailperm
script that can be used to correct permissions on mail files within an account.
Procedure
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Run the
mailperm
script for the user./usr/local/cpanel/scripts/mailperm --verbose $user
Please note that "$user" must be replaced with the cPanel account's username.
This procedure will only work if the user's files are not owned by root. If the user's mail files are owned by root, you will need to follow the instructions in this article:
Mailbox permissions for user@domain.com are broken and can't be fixed
Comments
0 comments
Article is closed for comments.