After logging into your cPanel account, you notice that one or more email accounts are missing.
When accessing the main Email Accounts interface, the email account list is either incomplete or empty.
If the email account list is empty or missing users, and you are sure they exist, look at the
/home/$user/etc/domain.tld/passwd files. If you have backups of these files, move them to
If there are no backups, edit the
passwd files and copy one of the existing entries to recreate the entries for any missing email accounts.
After this has been done, if the email accounts still do not appear in the interface, move aside the email account's JSON file located in
Finally, reset the password for each of the users that were recreated. To do this from the cPanel interface, review this article:
From the command line, review this article:
If this continues to happen, the account is likely compromised. Restore the account from a clean backup or to clean the account. It's best to consult with a security administrator to ensure the site is fully cleaned. The following article may also be helpful: