Skip to main content

Change domain primary, but email don't changed

Comments

3 comments

  • PlatinumServerM
    You can recreate the mail accounts on the new name after you change the domain and then move the contents of the mailboxes over, they are in /home/username/mail/
    0
  • sysber
    The problem is to inform all users of the new password. That would be a very big impact, because the client has 80 email accounts. I found a solution by some local tests: I made a copy of the passwd file that is in the area that is now as secondary domain (home/xxxx/etc/x.com/ passwd) Changing only the destination directory that x.com file for y.com After copied the shadow file to the folder: /home/xxxx/etc/y.com/ And did the copy of the mail directory: cp -r -p /home/xxxxx/mail/x.com/account1 /home/xxxxx/mail/y.com/ Thus, it was possible to receive emails on new address (y.com) keeping the same password. I am testing in two e-mail initially and tests, everything is working fine.
    0
  • cPanelMichael
    Hello, I am happy to see you were able to find a workaround to the issue. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.