Fix cPanel Error -The Email Account Already Exists

Sometimes, you add an email account from cPanel, and you get an error message The Email Account Already Exists. You go through the existing email accounts list and make sure that email account you are trying to add actually does not exist.

Why cPanel is not allowing to add non-existing email account and if it exists why it is not showing up in list. well, here is the solution for this strange problem.

cPanel Email Account Already Exists Error


Solution


As the error description implies, the first and obvious reason of this error is, you are attempting to add an existing email account. The second reason is, you attempted to delete this email account earlier which turned into an error. This removed an email account physically, but it left the traces in log and config files. To fix this take following steps.

  1. Login to your Linux machine via SSH as root user.
  2. Navigate to the following path, locate and remove email account folder in question.

    /home/domainco/mail/domain.com 
  3. Similarly, navigate to the following path, open passwd file with editor of your choice. Remove email account entry from that file and save it.

    /home/domainco/etc/domain.com

  • 1 Users Found This Useful

Was this answer helpful?

Related Articles

How to run ClamAV scan from SSH in cPanel server?

In this article, we'll discuss how to run ClamAV scan via SSH in cPanel/WHM server. ClamAV is one...

How to Install NodeBB on a CentOS VPS?

NodeBB is an open source and powerful forum software based on the Node.js. It is very easy to...

Do You Provide TUN/TAP On VPS Hosting?

Typically, TUN/TAP is used when you want to utilize VPN services from your VPS. Windows VPS...

Fix Exim error-exim dead but subsys locked

Problem Statement php mail scripts were not working in Linux VPS. Error Message exim dead but...

Do you support PHP on your Servers? If yes, is it automatically available OR do I have to request for it?

PHP is available on all our Windows shared hosting and Linux shared hosting. You just need to...