Skip to main content

Trying to migrate customers' email between cPanel accounts and I think I screwed something up.

Comments

9 comments

  • User Avatar
    cPanelMichael
    Hello :) Check to make sure the permissions/ownership values for the "mail" directory and it's subdirectories match up to what you see for another account that's working as intended. The following command will help with permission values: /scripts/mailperm $username
    Thank you.
    0
  • User Avatar
    josiahsprague
    I don't have any accounts that are working as intended at the moment. Do you know what the permissions should be? Right now they are 755. I'm not sure how to run that command. Can you clarify?
    0
  • User Avatar
    dalem
    Log into your server via SSH and run for the affected account /scripts/mailperm username
    0
  • User Avatar
    cPanelMichael
    [quote="josiahsprague, post: 1564932">I'm not sure how to run that command. Can you clarify?
    It appears you might not have root access to this server. If that's the case, I suggest contacting your web hosting provider for assistance so they can correct any permission issues if necessary. Thank you.
    0
  • User Avatar
    josiahsprague
    [quote="dalem, post: 1564992">Log into your server via SSH and run for the affected account /scripts/mailperm username
    Thanks for all the help. Can anyone tell me what that script does exactly?
    0
  • User Avatar
    JaredR.
    /usr/local/cpanel/scripts/mailperm looks at mail-related files' permissions, and attempts to fix them if necessary. Run it with the --help argument to see the options you can pass it, and with the --verbose argument to see exactly what it does. /scripts, in recent versions of cPanel, is a symbolic link to the /usr/local/cpanel/scripts directory, and I used the full path for completeness. /scripts was once itself a directory, but it is now a symlink to the actual directory.
    0
  • User Avatar
    josiahsprague
    This is probably something super obvious that I'm missing but it seems that neither /scripts/mailperm nor /usr/local/cpanel/scripts/mailperm exist on my server. (I was able to get shell access). Any ideas? Thanks again!
    0
  • User Avatar
    vanessa
    Um, are you root?
    0
  • User Avatar
    cPanelMichael
    [quote="josiahsprague, post: 1566242">This is probably something super obvious that I'm missing but it seems that neither /scripts/mailperm nor /usr/local/cpanel/scripts/mailperm exist on my server. (I was able to get shell access). Any ideas? Thanks again!
    You will not have the ability to run that command without root access. I recommend consulting with your web hosting provider for assistance with this issue. Thank you.
    0

Please sign in to leave a comment.