[imp] Cannot connect with IMP to IMAP, login failed
Wim
wim at karowim.org
Sat Mar 19 09:27:28 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
-----------------------------------------------------------------------------------
Hi,
/root stand for the root directory of the webserver, thus not in /root. Authentication works fine with other
Mail Clients only not with Horde.
This is the output what I get from logs:
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.
Many thanks,
More information about the imp
mailing list