Roundcube Community Forum

 

Log Reports Invalid Host

Started by Geran, June 17, 2008, 08:47:31 PM

Previous topic - Next topic

Geran

Hi, I just installed Round Cube Mail and it looks really great, from the screen shots, but I am having trouble logging in.

During the test, everything passed just fine, but when I actually try to log in, I keep on getting rejected. I checked the logs and it had this message in it.

[17-Jun-2008 20:25:55 -0400] IMAP Error: Invalid host
 in  on line 0

this is the error that comes up in /myhttp/roundcubemail/logs/error

Have I made some mistake in configuration? My IMAP server has always been working flawlessly before now.

Barcaro

Same problem here running Roundcube on a machine like this:

Linux SilentEnigma 2.6.24-19-386 #1 Wed Jun 4 15:54:02 UTC 2008 i686 GNU/Linux

PHP 5.2.4-2ubuntu5.1 with Suhosin-Patch 0.9.6.2 (cli) (built: May  9 2008 16:34:16)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies

MySQL 5.0.51a-3ubuntu5.1

In the installer I di log in correctly...

Geran

Are there any admins or experienced users that can help with this?

Geran


dano

How is your main.inc.php configured?

Are you trying to log in with your full email address?

Geran

Not trying to use my full e-mail address.

Here is an example of a login..

User: name-of-user
Pass: pass-of-user
Server: my-server

As far as username and password, I think most of the time you might see this...

name-of-user@my-server

What do you mean by how is main.inc.php configured? Can you clarify at all?

dano

You can configure the main.inc.php to append a domain name to a log in or a drop box where users select a domain.  Otherwise you have to log in using your full email address.

FrazzledAndy

Hi,

I am getting exactly the same problem too.

invalid host in on line 0

Can anyone help before I pull all my hair out?

Andy

bpat1434

In the main.inc.php file turn the error level up to 8 and try and log in.  Paste what you get back.
 
 

FrazzledAndy

Hi,

Thanks for the reply.

Fortunately a part time work colleague came in and was able to solve the problem.

The server name had to be set to LocalHost in the main.inc.php file rather than the actual server name!

Thanks

Andy