Skip to main content

delete unused email accounts

Comments

3 comments

  • cPanelMichael
    Hi, when someone deletes an email account for example EMAIL@domain.com, the mailbox still remains with it's files under /home/user/mail/domain.com/EMAIL

    Hello, This should not happen. Can you try creating and deleting a test email account and verify if this behavior still occurs? If so, what do you see in /usr/local/cpanel/logs/error_log when deleting the email account? Thank you.
    0
  • dzamanakos
    Sorry, my mistake, i wanted to say that when deleting an addon-domain / alias, the email accounts are remaining as mailboxes. Is there a way to find these mailboxes in order to delete them?
    0
  • cPanelMichael
    Hello, That's correct. When you remove the addon domain or alias, its email accounts will no longer appear in the cPanel interface. However, the contents for this email account still exist in the home/username/mail directory. The "Email Disk Usage" option is the easiest way to delete the leftover emails: Email Disk Usage - Version 70 Documentation - cPanel Documentation There's no feature that will show you a list of all email data that exists for domain names that were previously deleted from an account. I encourage you to open a feature request for that at:
    0

Please sign in to leave a comment.