Author Topic: Log Reports Invalid Host  (Read 7422 times)

Offline Geran

  • Newbie
  • *
  • Posts: 4
Log Reports Invalid Host
« on: June 17, 2008, 08:47:31 PM »
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.

Offline Barcaro

  • Newbie
  • *
  • Posts: 1
Log Reports Invalid Host
« Reply #1 on: June 18, 2008, 06:30:23 AM »
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...

Offline Geran

  • Newbie
  • *
  • Posts: 4
Log Reports Invalid Host
« Reply #2 on: June 18, 2008, 08:24:08 PM »
Are there any admins or experienced users that can help with this?

Offline Geran

  • Newbie
  • *
  • Posts: 4
Log Reports Invalid Host
« Reply #3 on: June 19, 2008, 09:56:53 PM »
No ideas? No one at all?

Offline dano

  • Full Member
  • ***
  • Posts: 124
Log Reports Invalid Host
« Reply #4 on: June 20, 2008, 12:24:03 PM »
How is your main.inc.php configured?

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

Offline Geran

  • Newbie
  • *
  • Posts: 4
Log Reports Invalid Host
« Reply #5 on: June 21, 2008, 08:29:47 PM »
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?

Offline dano

  • Full Member
  • ***
  • Posts: 124
Log Reports Invalid Host
« Reply #6 on: June 23, 2008, 07:44:46 PM »
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.

Offline FrazzledAndy

  • Newbie
  • *
  • Posts: 2
Log Reports Invalid Host
« Reply #7 on: June 25, 2008, 11:14:41 AM »
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

Offline bpat1434

  • Administrator
  • Hero Member
  • *****
  • Posts: 673
Log Reports Invalid Host
« Reply #8 on: June 26, 2008, 07:32:02 PM »
In the main.inc.php file turn the error level up to 8 and try and log in.  Paste what you get back.
 
  

Offline FrazzledAndy

  • Newbie
  • *
  • Posts: 2
Log Reports Invalid Host
« Reply #9 on: June 27, 2008, 04:25:29 AM »
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