If you are not able to log in to webmail account of a domain, first check whether the domain is listed in
/etc/userdomains. If it is not there, please check whether the hostname is the same as that of the domain name. Definitely you can see that hostname is same as that of the domain name.
To resolve this you need to change your hostname. Then update userdomains by running the script "
/scripts/updateuserdomains.
Then confirm domain is listed in
/etc/userdomains. Once it listed there you will be able to log in to webmail.