Skip to main content

How do you copy emails from an account to another account as ad-don account while retaining all email list, emails and passwords?

Comments

6 comments

  • cPanelLauren
    This is possible but it could be a bit tricky if you're not sure of what you're doing. The steps are as follows: Part 1: Move the password, setup and configuration files:
    • Go to /home/originaluser/etc/
    • In this folder you will see all the domains that have email on that cPanel account.
    • Locate the folder for the domain's email you would like to move
    • Create a backup of the folder cp -R /home/$USER/etc/domain.tld{,.}
    • move the folder to the new location (if it's located on the same server) mv /home/originaluser/etc/domain.tld /home/newuser/etc/
    • Update UID accordingly chown -R newuser /home/newuser/etc/domain.tld
    Part 2: Move the actual mail
    • You can do this a couple of ways:
    • You can rsync the data from /home/originaluser/mail/domain.tld
      to /home/newuser/mail/domain.tld/
    • You can manually move the file in the same manner as done in the previous example
    By Email List are you referring to Mailing Lists? If so I don't think the same steps would be usable.
    0
  • Sarik
    Thanks! What if I don't have CLI access? Both servers are in shared server. By email list, I am referring to email ID's: a@domain.tld, b@domain.tld, etc
    0
  • cPanelLauren
    You can do this using FTP or if necessary, using the FileManager as well.
    0
  • Sarik
    Hello, Thanks for the answer. Sorry for being a complete newbie in this matter. I copied the folders domain.tld from /etc and /mail folders to the respective folders of the addon domains. However, I can't see those emails in the list of emails. I found this tutorial too: Transfer Your E-mail From One cPanel to Other Without Losing a Single Mail - BuycPanel You mentioned I have to update UID's accordingly too, but I'm a bit confused on that. Is it possible to do so without CLI access? Even if I did have CLI access, does 'newuser' refer to the cPanel user ID of the main cPanel accounts where the addon domain is residing?
    0
  • cPanelLauren
    Hello, The username (UID) needs to match that of the username of the account the mail is now on. The article notes and my last response indicates you can do this over FTP.
    0
  • Sarik
    Figured it now. Thanks a LOT!
    0

Please sign in to leave a comment.