Getting error while creating an email account from cPanel.
file open /home/user/etc/domainname/passwd failed with error no such file or directory
Usually, this error occurs when the /etc directory is removed. This directory contains a specific user's email account password and other configuration details.
To fix this issue, you need to create a /etc directory.
- Navigate to path /home/username/
- Create /etc directory