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 delete mailman archives on cPanel using command?

If you have created a mailman mailing list called [email protected] and want to clear it, then...

Difference Between su and sudo and How to Configure sudo in Linux VPS.

As we know Linux provides much better security. You can set user management policy and user...

How to Prevent File/Directory Modification, Deletion and Renaming in Linux?

If you are looking to prevent any file from being modified, delete or renaming, you will need to...

How to install Git on Centos7?

Git is a famous version-control system. Git is used to tracking the changes made on your code as...

How to Install a Perl Module in cPanel?

Perl module allows adding the custom functionality to cPanel & WHM server. Please refer to...

  • 1 Users Found This Useful

Was this answer helpful?