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