Roundcube Community Forum

 

Invalid host???

Started by liptakweb, August 17, 2008, 04:20:03 PM

Previous topic - Next topic

liptakweb

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 [email protected], and password is userpassword.

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

liptakweb

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

dj2

Make sure this:
$rcmail_config['auto_create_user'] = TRUE;is not set to false. (main.inc.php)

liptakweb

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:[email protected]
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.

dj2

Server should be something like: mail.mbmeats.com, not the host domain.

liptakweb

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 [email protected] 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:[email protected]
Password:password

And it reports "OK" sort capable

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

liptakweb

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'

dj2

Weird.  I've never encountered a host that would use their own servers to get your domain email.

bpat1434

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.