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

        Facing an issue with cPanel update. Please refer to cPanel > Rebuild RPM for more details.

Related Articles

How to allow or block the port and IP Address using Firewalld, IP tables, and UFW in Linux?

On Linux, the firewall is essential to control the incoming and outgoing network traffic. It is...

How to block an IP address using .htaccess?

You can block traffic coming from any specific IP addresses with .htaaccess file. Please refer to...

How do I connect to Linux VPS through SSH from Linux and Windows OS?

This article will guide you on how to login to Linux VPS through SSH (Secure Shell) from Linux...

How to install mod security on Centos 7.x with apache?

Mod_Security is an open-source web application firewall. It monitors the incoming web request to...

How to install Nagios 4.4.5 on Centos7?

Nagios is an Open-source monitoring tool. With Nagios, you can monitor your servers and networks...

  • 1 Users Found This Useful

Was this answer helpful?