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!

Email account won't delete

Discussion in 'E-mail Discussion' started by DarkxPunk, Feb 1, 2017.

  1. DarkxPunk

    DarkxPunk Active Member

    Joined:
    Sep 2, 2012
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hey there,

    Such a weird error I can't seem to figure out. I have an email that isn't used anymore on an addon domain, I went to delete that email and I get the this: "(XID hs64jh) You do not have an email account named...". I have deleted other accounts successfully but one seems stuck.

    I am not deleting the addon domain, I have tried renaming the email_accounts.cache and email_accounts.yaml as suggested by searches online but it has no effect. It doesn't even seem to recreate these files when I restart cpanel. Is there something bigger going on?

    Thanks for any ideas.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,943
    Likes Received:
    1,821
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Check the following locations to see if you notice any entries for this email account:

    Code:
    /home/$username/etc/$addon-domain.tld/passwd
    /home/$username/etc/$addon-domain.tld/shadow
    /home/$username/mail/$addon-domain.tld/
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. DarkxPunk

    DarkxPunk Active Member

    Joined:
    Sep 2, 2012
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Yes there exists entries in all three, in the mail/$addon-domain.tld/ the entry has an @ at the end. It doesn't seem to be a folder like the others.

    Thanks for the assistance.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,943
    Likes Received:
    1,821
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You can try manually removing the entries for that email account from those files and then re-create the email account through cPanel. That should allow you to then delete the email account via cPanel to ensure it's properly removed.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. DarkxPunk

    DarkxPunk Active Member

    Joined:
    Sep 2, 2012
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    That worked!

    Any idea what happened to cause this issue so I don't repeat it in the future?

    Thanks again!
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,943
    Likes Received:
    1,821
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    This generally happens if the initial removal attempt failed, or individual files under the account's home directory were incorrectly restored or modified at some in the past.

    Thank you.
     
    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