Roundcube login failed error can occur due to various reasons that include incorrect hostname, improper ports setup, mail directory incorrectly set, and so on.

Here at Bobcares, we have seen several such Roundcube related issues as part of our Server Management Services for web hosts and online service providers.

Today we’ll take a look at the cause for this error and how to fix it.

What causes Roundcube login failed to occur

Before we get into the solution part, first let’s see what causes this error to occur.

There can be different reasons for this error to occur that include improper ports setup, mail directory incorrectly set, and so on.

The incorrect hostname can also be another reason for this error.

Generally, the server requires an FQDN hostname configured and also wants it to be resolvable in DNS. For example, if the domain name is domain.com then the hostname can be server.domain.com.

So in DNS, there must be an entry for server.domain.com. If this is not available then it can lead to an error.

For instance, the error appears as below.

roundcube login failed

 

How we fix Roundcube login failed error

Our Support Engineers provide different ways to resolve this error. Here are some of them.

1. Check hostname

We can do this from WHM

Log into WHM >> Main >> Networking Setup >> Change Hostname

In the DNS section, it will also ask to add an A record entry for it.

Now run the following commands.

#rm -f /etc/userdomains
[# /usr/local/cpanel/scripts/updateuserdomains –force

Finally, restart the cPanel service using the command.

#/etc/init.d/cpanel restart

This must fix the Roundcube login error.

 

2. Check mail directory

Update the Maildir to whatever the system uses.

For that, change Dovecot mail_location setting to

mail_location = maildir:~/Mail

Then change Postfix home_mailbox setting to

home_mailbox = Mail/

Finally, restart services.

 

3. Check the ports

Make sure to check the ports set in the mail server and reset it (if necessary):

Port 25 (and 587) must be open for SMTP
Port 143 (and 993) must be open for IMAP
Port 110 must be open for POP3

Also, open those ports in the firewall settings.

[Need any assistance in fixing Roundcube errors? – We’ll help you]

 

Conclusion

In short, this error can occur due to various reasons that include incorrect hostname, improper ports setup, mail directory incorrectly set, and so on. Today, we saw the solution to this error.