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

Craig White craigwhite at azapple.com
Mon Mar 21 07:56:12 PST 2005


On Mon, 2005-03-21 at 11:32 +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
> /webroot/horde/imp/lib/Auth/imp.php"]
> HORDE [info] [imp] x.x.x.x failed [on line 31 of "/webroot/horde/imp/login.php"]
> 
> Anyone an idea what the problem can be.
> 
----
crystal ball cloudy today - seems as though it was cloudy the last time
you asked the exact same question - appears that you have made little
effort on your own to solve.

/var/log/maillog (show authentication error? information?)
/var/log/messages (show authentication error? information?)

try accessing /webroot/horde/test.php
show any problems?

try accessing /webroot/horde/imp/test.php
show any problems?

try 
telnet localhost 143
can you login?

if you can login, you should be able to login via the same username you
used when you logged in as in the telnet session

you need to expend a little bit of effort figuring out what the problem
is yourself.

Craig



More information about the imp mailing list