Occasionally, when you add an email account via cPanel, you get a pop-up error notice. The email account already exists. You go through the existing email accounts list to confirm that the email account you are intending to add no longer exists.
Why doesn’t cPanel always allow you to add a non-existent email account? And if it exists, why doesn’t it appear in the listing? So, here is the solution to this unforeseen problem.
Solution :
As the issue description suggests, the first and most obvious root cause of this error is that you are attempting to add an existing e-mail account. The second reason is that you attempted to remove this email account before, which resulted in an error. This eliminated the email account physically, but the strains remained in the log and configuration files. To correct it, follow the steps below.
- Log in to your Linux machine as the root user using SSH.
- Redirect to the following path, locate and delete the email account folder in question.
/home/user/mail/domain.Com
3. Navigate to the following path and open the password document with your choice editor/browser. Remove the email account entry from that file and save it.
/home/user/etc/domain.Com