Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

renaming email account

Discussion in 'E-mail Discussion' started by vittle, Jun 6, 2010.

  1. vittle

    vittle Member

    Joined:
    Apr 18, 2004
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    151
    What is the best way to rename an existing cPanel email account (e.g. name1@domain.com to name2@domain.com) without using forwarders?

    I read in a really old thread that you can't rename but can create a new email account and then migrate existing mail data from the old to the new account. But, we're not sure what to do in terms of Courier mail data and/or Dovecot to make sure all the email is copied over successfully. Can anyone give advice as to what data exactly needs to be copied?
     
  2. eth00

    eth00 Well-Known Member
    PartnerNOC

    Joined:
    Mar 30, 2003
    Messages:
    723
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    NC
    cPanel Access Level:
    Root Administrator
    There might be a better way but a way that works is to

    1) create the new email account
    2) move all of the emails from the old to the new
    3) test the new one
    4) delete the old and create a foward


    Mail is all located in /home/username/mail/domain.com/username/

    Obviously make a backup before you start copying and moving stuff around :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice