Skip to main content

Move mail from a cpanel account to another

Comments

3 comments

  • cPanelMichael
    Hello :) You will need to backup the email data from the second account. It's located in: /home/$username/mail Note that this is purely the email data, it's not the email account username/password information. After you terminate the second account, you would need to add it to the first account as an addon domain name, create the individual email accounts, and then restore the mail data that you backed up. After restoring this data, you must manually update the ownership values to reflect the new username. Thank you.
    0
  • Frankk
    Thanks for the headsup, but I already knew I could do that, what I want is to move the accounts themselves not just the content. There's a bunch of them and recreating means re configuring them all also (desktop, tablet, phone and all) which would be a really long day in hell.
    0
  • cPanelMichael
    The account data is stored in: /home/$username/etc/$domain/passwd /home/$username/etc/$domain/quota /home/$username/etc/$domain/shadow However, note that in addition to manually copying those entries to the new account's "etc" directory, you will also have to use a "replace" command on these files to reflect the new username. Thank you.
    0

Please sign in to leave a comment.