Results 1 to 4 of 4

Thread: Old email account cannot be deleted after changing domain name of account.

  1. #1
    Member SuperBaby's Avatar
    Join Date
    Nov 2003
    Location
    Malaysia
    Posts
    306

    Question Old email account cannot be deleted after changing domain name of account.

    I saw someone also mentioned about this but there was no solution.

    Under WHM, I restored a *.tar.gz file and re-created an old account. After that, I changed the domain from olddomain.com to newdomain.com.

    Under cPanel of that account, it shows me:

    xxx@olddomain.com (which was added before the account was deleted earlier)
    yyy@newdomain.com (which I just added)

    I tried to delete xxx@olddomain.com but it said I have no access to this domain.

    I checked httpd.conf and there was no occurrence of olddomain.com.

    How do I manually remove this old email account?
    SuperBaby

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2008
    Location
    PK
    Posts
    443

    Default

    Quote Originally Posted by SuperBaby View Post
    I saw someone also mentioned about this but there was no solution.

    Under WHM, I restored a *.tar.gz file and re-created an old account. After that, I changed the domain from olddomain.com to newdomain.com.

    Under cPanel of that account, it shows me:

    xxx@olddomain.com (which was added before the account was deleted earlier)
    yyy@newdomain.com (which I just added)

    I tried to delete xxx@olddomain.com but it said I have no access to this domain.

    I checked httpd.conf and there was no occurrence of olddomain.com.

    How do I manually remove this old email account?
    1- check if the email account folder exists as /home/user/mail/olddomain.com/xxx
    2- check if there is folder /home/etc/olddomain.com and if so remove it.
    3- Logout of cPanel, backup the files 'email_accounts.yaml' and empty 'email_accounts.cache' in /home/user/.cpanel/ and try to log in to cPanel again.
    4- If it still does not work, run '/scripts/whoowns olddomain.com' and see if this gives you a clue.
    1 solution works for all problems. Trying harder!
    HostMasterTips - Understanding Tech Support

  3. #3
    Member SuperBaby's Avatar
    Join Date
    Nov 2003
    Location
    Malaysia
    Posts
    306

    Default

    1- check if the email account folder exists as /home/user/mail/olddomain.com/xxx

    No. Only the new domain is available under "mail" directory.

    2- check if there is folder /home/etc/olddomain.com and if so remove it.

    No. Only the new domain is available under "mail" directory.

    3- Logout of cPanel, backup the files 'email_accounts.yaml' and empty 'email_accounts.cache' in /home/user/.cpanel/ and try to log in to cPanel again.

    This seems to solve the problem. Thanks.

    4- If it still does not work, run '/scripts/whoowns olddomain.com' and see if this gives you a clue.
    SuperBaby

  4. #4
    Member
    Join Date
    May 2006
    Posts
    284
    cPanel/WHM Access Level

    Root Administrator

    Default

    I'm experiencing this problem as well with one account.

    I tried JPC-Howards checklist / procedure below:

    Quote Originally Posted by JPC-Howard View Post
    1- check if the email account folder exists as /home/user/mail/olddomain.com/xxx
    2- check if there is folder /home/etc/olddomain.com and if so remove it.
    3- Logout of cPanel, backup the files 'email_accounts.yaml' and empty 'email_accounts.cache' in /home/user/.cpanel/ and try to log in to cPanel again.
    4- If it still does not work, run '/scripts/whoowns olddomain.com' and see if this gives you a clue.
    1 - don't see a folder for it in the old domain
    2 - don't see a folder for it in etc for old domain
    3 - tried this, but it didn't change anything
    4 - ran that script, but it returns nothing (no text, no answer)

    Any more tricks up your sleeve JPC-Howard? Anyone else maybe?

    Thanks for any advice at all!


    UPDATE - FOUND A SOLUTION THAT WORKED FOR ME HERE - http://forums.cpanel.net/f43/defined...on-137637.html More specifically - http://forums.cpanel.net/f43/defined...tml#post591297
    Last edited by Metro2; 11-25-2009 at 04:02 AM.

Similar Threads

  1. deleted email account logs
    By crazyaboutlinux in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 08-15-2011, 04:03 AM
  2. Deleted email account on Cpanel still can send emails
    By alexgol in forum E-mail Discussions
    Replies: 2
    Last Post: 07-18-2011, 06:28 PM
  3. deleted account but domain name stills shows
    By chrisgrissom in forum New User Questions
    Replies: 1
    Last Post: 06-06-2011, 05:28 PM
  4. domain deleted but user account still there
    By gordypordy in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 07-23-2006, 01:18 PM
  5. Account not listed under "List Account" after changing domain name.
    By SuperBaby in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 03-02-2004, 02:05 PM