Author Topic: Invalid host???  (Read 5194 times)

Offline liptakweb

  • Newbie
  • *
  • Posts: 5
Invalid host???
« on: August 17, 2008, 04:20:03 PM »
My install seems to have gone good.  But I keep getting login failed.  My log file reports:

[17-Aug-2008 16:03:46 -0400] IMAP Error: Invalid host
Invalid password
 in  on line 0
[17-Aug-2008 16:05:41 -0400] IMAP Error: Invalid host
 in  on line 0
[17-Aug-2008 16:05:53 -0400] IMAP Error: Invalid host
 in  on line 0

For username I am putting in user@domain.com, and password is userpassword.

I am using 1and1 for hosting would the server be imap.1and1.com or mydomain.com... any ideas?

Offline liptakweb

  • Newbie
  • *
  • Posts: 5
anyone?
« Reply #1 on: August 17, 2008, 09:26:10 PM »
So I have been going through by install and in the Test config section.  I test the smtp settings and it goes through.  I test the IMAP configuration and it says "ok".  I also tried it with the wrong password just too see what happens and it fails.  This leads me to believe that everything is working.  Any web gurus have any ideas?  

Thanks
Dan

Offline dj2

  • Jr. Member
  • **
  • Posts: 40
Invalid host???
« Reply #2 on: August 17, 2008, 11:02:08 PM »
Make sure this:
Code: [Select]
$rcmail_config['auto_create_user'] = TRUE;is not set to false. (main.inc.php)

Offline liptakweb

  • Newbie
  • *
  • Posts: 5
Invalid host???
« Reply #3 on: August 18, 2008, 12:19:49 PM »
It is set to true.

What is the proper way to login for example my domain is mbmeats.com and my hosting is 1and1 would it be like this?

username:user@mbmeats.com
password:userpsswrd
server:imap.1and1.com

The log file indicates invalid host, but in my test config I can logon to the imap server no problem.

Offline dj2

  • Jr. Member
  • **
  • Posts: 40
Invalid host???
« Reply #4 on: August 18, 2008, 01:17:32 PM »
Server should be something like: mail.mbmeats.com, not the host domain.

Offline liptakweb

  • Newbie
  • *
  • Posts: 5
Invalid host???
« Reply #5 on: August 18, 2008, 04:54:40 PM »
To give you an example.  Up till now I used outlook and my domain is liptakweb.com which is hosted by 1and1.  My email is danliptak@liptakweb.com but my server settings in outlook are pop.1and1.com and smtp.1and1.com.

During the setup up it gives my an oppurtunity to test the config.  I put in:

Server:imap.1and1.com
Port:143
Username:ross@mbmeats.com
Password:password

And it reports "OK" sort capable

Wouldn't that be the server I am supposed to connect to?

Offline liptakweb

  • Newbie
  • *
  • Posts: 5
Invalid host???
« Reply #6 on: August 18, 2008, 06:13:35 PM »
Got it!  Even though it was asking for the server it was not registering.  I had to edit the main.inc.php, i put the server name in the config file and now when I login it doesn't prompt for server and it lets me in no prob.  I use 1and1 so this is how my config looked:

$rcmail_config['default_host'] = 'imap.1and1.com'

Offline dj2

  • Jr. Member
  • **
  • Posts: 40
Invalid host???
« Reply #7 on: August 18, 2008, 08:25:39 PM »
Weird.  I've never encountered a host that would use their own servers to get your domain email.

Offline bpat1434

  • Administrator
  • Hero Member
  • *****
  • Posts: 673
Invalid host???
« Reply #8 on: August 19, 2008, 11:29:12 PM »
Many shared hosts that use custom control panels (i.e. not cPanel, Plesk, etc.) make everyone use one mail server.  I guess it's because of the cluster setup; however, most of the time you can edit your dns entries and add 2 cname entries to your DNS to alias imap.server.com to mail.mydomain.com.