Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    4

    Default "Ghost" email accounts after deleting Add on domain

    I've moved an add on domain out to it's own account on the server and recreated the mailboxes, but on the previous account there are still mailbox entries for the add on domain which cannot be deleted.

    The error returned is "Account does not exist". The mailbox usage shows there are still messages in the mailboxes but it isn't important to access these.

    How can I delete these ghost email accounts?

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

    Default

    Quote Originally Posted by Sausages View Post
    I've moved an add on domain out to it's own account on the server and recreated the mailboxes, but on the previous account there are still mailbox entries for the add on domain which cannot be deleted.

    The error returned is "Account does not exist". The mailbox usage shows there are still messages in the mailboxes but it isn't important to access these.

    How can I delete these ghost email accounts?
    Try to delete the folders 'domain.com' from original account's mail and etc folder where domain.com was setup as an addon.
    1 solution works for all problems. Trying harder!
    HostMasterTips - Understanding Tech Support

  3. #3
    Registered User
    Join Date
    Mar 2009
    Posts
    4

    Default

    Thanks, I've done that but the entries within cPanel are still there.


    I'm really only doing this as a matter of tidying up the accounts, I don't think I have any mail delivery issues.

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

    Default

    Quote Originally Posted by Sausages View Post
    Thanks, I've done that but the entries within cPanel are still there.


    I'm really only doing this as a matter of tidying up the accounts, I don't think I have any mail delivery issues.
    Logout of cPanel, backup the file 'email_accounts.yaml' and empty 'email_accounts.cache' in /home/user/.cpanel/ and try to log in to cPanel again.
    1 solution works for all problems. Trying harder!
    HostMasterTips - Understanding Tech Support

  5. #5
    Registered User
    Join Date
    Mar 2009
    Posts
    4

    Default

    I've now tried that but still no change. Did you want me to empty email_accounts.yaml also?

  6. #6
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb

    Quote Originally Posted by Sausages View Post
    I've now tried that but still no change. Did you want me to empty email_accounts.yaml also?
    As was suggested by JPC-Howard, please retain a backup copy. With the cache file emptied or renamed/moved out of the way, next, rename the original YAML file, then access cPanel and refresh the E-mail Accounts page; the YAML file should be regenerated.

    Here is is an example of how to rename the YAML file via SSH access; replace "username" with your cPanel account username:
    Code:
    # cd ~username/.cpanel
    # mv -v email_accounts.yaml email_accounts.yaml.backup
    Last edited by cPanelDon; 01-11-2010 at 06:04 PM. Reason: Correction of typo

  7. #7
    Registered User
    Join Date
    Mar 2009
    Posts
    4

    Default

    Thanks JPC-Howard and cPanelDon, that's resolved it. I had made a backup of the YAML file (I learned that a long time ago!) and it's now removed the rogue entries from cPanel.

Similar Threads & Tags
Similar threads

  1. Removing "Hacked by Islamic Ghost Team" from WHM
    By jetnet in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-28-2011, 06:48 PM
  2. Add "delete list" button in WHM on "Reset a Mailman Password" page
    By cPanelMary in forum Feature Requests for cPanel/WHM
    Replies: 0
    Last Post: 01-08-2011, 12:19 AM
  3. I want to add a "new (#)" icon on "Email/current accts"
    By LOGISTIKA_TSM in forum E-mail Discussions
    Replies: 1
    Last Post: 03-26-2008, 10:26 AM
  4. Exim bug, you can send email from "one" domain to the "same" domain without Auth.
    By mohamed_gaber in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-11-2004, 03:34 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube