[imp] Re: Cannot connect with IMP to IMAP, login failed

Craig White craigwhite at azapple.com
Thu Mar 17 07:00:13 PST 2005


On Thu, 2005-03-17 at 14:08 +0100, Wim wrote:
> Hi,
> 
> I am trying to connect Horde/IMP to my IMAP server but I always get 'Login Failed'. I am sure that my
> credentials are correct as these are working fine with a Mail Client (Mozilla). I can connect also to my
> IMAP Server with Squirrelmail (standards-based webmail package written in PHP4).
> Horde is running on the same server as my IMAP Server.
> This is my config in servers.php
> 
> $servers['imap'] = array(
>     'name' => 'IMAP Server',
>     'server' => 'localhost',
>     'hordeauth' => false,
>     'protocol' => 'imap/notls',
>     'port' => 143,
>     'folders' => 'INBOX.',
>     'maildomain' => 'example.com',
>     'smtphost' => 'localhost',
>     'smtpport' => 25,
>     'dotfiles' => false,
>     'hierarchies' => array()
> );
> 
> This is what I get in the horde.log
> 
> HORDE [error] [imp] FAILED LOGIN x.x.x.x to localhost:143[imap/notls] as 'user' [on line 247 of
> "/root/horde/imp/lib/Auth/imp.php"]
> HORDE [info] [imp] x.x.x.x failed [on line 31 of "/root/horde/imp/login.php"]
> 
----
I cannot possibly think of a single more inappropriate place to install
http/php based directory tree than in /root directory

Presuming that you can on this machine..

telnet localhost 143
. login user USER_PASSWORD

and successfully log in, the same user/password combination should work
for imp and the above configuration.

Of course you should have syslogs that should tell you why the
authentication failed - typically on Linux they would be
in /var/log/messages or /var/log/secure or /var/log/maillog

Craig



More information about the imp mailing list