Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Login failed in webmail  (Read 5540 times)

0 Members and 2 Guests are viewing this topic.

lijeshk

  • Guest
Login failed in webmail
« on: December 28, 2013, 07:47:16 am »

Webmails like Roundcube, Horde, Squirrelmail in cPanel server are not accessible, even when username and password are valid.

Below are the steps what you have to do :

  • Check whether hostname is same as the domain, if that so, please change it like [Example :vps.domainname.com, server.domainname.com, etc] and add ‘A’ record to that hostname. Please do this via WHM control panel.
  • Also, verify whether you are able to pick the username with the following command via back-end:

Code: [Select]
root@vps [~]# /scripts/whoowns <Domain_name>
root@vps [~]#

The above command should show you the username associated with the domain name you have queried. If it doesn’t, please rename the following files to different names :
 
Code: [Select]
/etc/userdomains
/etc/trueuserdomains
/etc/trueuserowners

And run the script : “# /scripts/updateuserdomains“. It will re-generate all the usernames of the domains present in the server. Then, try accessing webmail. It should be working now.

Please note that, in some cases, you will have to check the files “/etc/localdomains” and “/etc/remotedomains” also.

--

 :)