Webmail – Roundcube returns the error: Connection to IMAP server failed
Webmail – Roundcube returns the error:
Connection to IMAP server failed
The above given error message usually occurs when you are trying to login to your email account in Horde Webmail client. Given below are the steps to resolve the issue.
1. Ensure that you are using correct email account name and password.
2. Ensure that an entry for the domain is present in /etc/userdomains.
3. Depending on the mail server used by the domain, an entry for the domain should be present in “/etc/localdomains” or “/etc/remotedomains”.
If a domain is using local mail server, an entry should be present in “/etc/localdomains”. If a domain is using remote mail server, an entry should be present in “/etc/remotedomains”.
4. Ensure POP3 and IMAP services are enabled. This can be checked as follows:
Main >> Service Configuration >> Mailserver Selection
Either “Courier” or “Dovecot” should be enabled.