Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Mar 2011
    Posts
    5

    Question How to move mails to another email account in same cPanel?

    Recently I used email with address abc@mydomain.com, but for some reasons I want to change the address to xyz@mydomain.com. Unfortunately I've received lots of emails in my abc@mydomain.com and don't want to loose them of course. So, if there's is a way I can move my mails from abc@mydomain.com to xyz@mydomain.com please tell me...?

    thanks before

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: How to move mails to another email account in same cPanel?

    You could do:

    Code:
    cp -R /home/username/mail/mydomain.com/abc/{cur,new}/ /home/username/mail/mydomain.com/xyz/
    Above please replace username with the cPanel username, mydomain.com with the domain name, abc with the old email user's name, and xyz with the new email user's name. This will copy the cur and new folders on the abc account to that xyz account. Since maildir formats have each email individually named, this shouldn't overwrite any emails on the new account.

    Of note, you might want to backup the mail folder before doing the above:

    Code:
    cp -R /home/username/mail /home/username/mail.bak
    Again, please replace username with the cPanel username for the account.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    Member
    Join Date
    Mar 2011
    Posts
    5

    Default Re: How to move mails to another email account in same cPanel?

    thanks for replying.

    but sorry, I'm newbie on cPanel, where the commands should be executed? or I can do it manually from file manager?

  4. #4
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: How to move mails to another email account in same cPanel?

    If you do not have access to root SSH to run the commands, then this isn't possible to perform the commands indicated. You'd instead have to copy the files manually at the location noted (mail/mydomain.com/abc/cur to mail/mydomain.com/xyz/cur). If you have FTP access to the account, FTP would be far faster to copy the files.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads & Tags
Similar threads

  1. What happens to email durring account move?
    By dev.null in forum E-mail Discussions
    Replies: 1
    Last Post: 04-15-2011, 04:14 PM
  2. move mails
    By MaBoRaK in forum E-mail Discussions
    Replies: 1
    Last Post: 06-13-2010, 09:22 AM
  3. move saved mails from NeoMail to Horde
    By Shirish in forum E-mail Discussions
    Replies: 1
    Last Post: 12-05-2007, 10:15 AM
  4. Move e-mails to folder on IMAP account
    By n000b in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-08-2006, 06:48 AM
  5. cpanel move questions: howto move account when username exis
    By haze in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-24-2003, 01:02 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube