The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

email account delete problems

Discussion in 'E-mail Discussions' started by fahl, Jul 18, 2010.

  1. fahl

    fahl Member

    Joined:
    Jul 30, 2008
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    I have some email accounts on my cpanel that i want to delete as i no longer have the domains but am getting error.

    "Account does not exist"

    Is there any way to clear these.
     
  2. pankajkhalkar

    pankajkhalkar Registered

    Joined:
    Aug 24, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    As you said that the domain is deleted. SO if the domain is deleted you will not able to access the email account under that domain. So indirectly the email address will also be deleted.

    Thanks:)
     
  3. aapkapratik

    aapkapratik Member

    Joined:
    Oct 26, 2009
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Though the domains are removed from the cPanel but you still see the E mail address of those domains under cPanel
    E Mail Accounts. Because of the cPanel cache.

    The entry for those E mail address still exists in cache of the cPanel. That is the reason, why you are still getting the
    E mail address under cPanel E Mail Accounts section but can't delete them as error "Account does not exist" pops up.

    A simple solution is login to server as root through SSH ( shell ) go to your to your account under /home

    For example if your cPanel user is XYZ you need to go to following path :

    # /home/XYZ/.cpanel/caches

    Now here you'll need to delete following files.

    " email_accounts.cache "

    " email_accounts.yaml "

    Restart cPanel service.. N you wont see the entries for the E mail address under cPanel E Mail Account.
     
    #3 aapkapratik, Jul 18, 2010
    Last edited: Jul 18, 2010
  4. fahl

    fahl Member

    Joined:
    Jul 30, 2008
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Many thanks.Sorted
     
Loading...

Share This Page