Error trying to login with RoundCube web mail

I just enabled the RoundCube webmail software. I set the domain to and if you hit that, you’ll get the login form, but when I try to log in, it gives me this error:

IMAP Error: Could not connect to at port 143

Anyone know why that might be happening?

It seems to be the configuration of Roundcube itself. I’ve never used it, so I’m going out on a limb.

  • Set your default mail host on line 38:

$rcmail_config[‘default_host’] = ‘’;

It’s trying to connect to the wrong location for the mail domain is my guess. Unless you plan to receive mail at instead of at, you need to change that. Default Host seems to be the location of the mail host itself, not the website its hosted on.

–John V

The problem here is that it appears you cannot choose your own webmail location. You get an entry field to specify a location, but if you use anything other than webmail, it won’t work.

I switched back to “webmail” from “email” and it worked without error.