IMP login

Toomas Vann tom@bns.ee
Tue, 17 Apr 2001 08:42:21 +0200


Hi!

I've been trying to get latest Horde+IMP to work.
>From my point of you (as linux is not my best pal)
i have got further.

I am using RedHat 7.0.91 (Wolverine)
Compiled Apache 1.3.19 with static PHP Version: 4.0.6-dev 

This is what i get from test.php:

Horde: 1.3.4-cvs 
IMP: 2.3.7-cvs 
Turba: 0.0.2-cvs 
Kronolith: 0.0.2-cvs 
Whups: 0.0.1-cvs 

Everything else in that page is green (meaning OK) except i did
not compile PHP with LDAP nor Postgres support. I am using MySQL,
so Postgres as i understand is not needed nor shared memory library.

Now to the problem.
Problem is that i can login into Horde, using imap authorithi.
But i cannot do the same with IMP, which seemes strange to me.

IMP servers.php looks like this:

$servers = array();

$servers['spam.bns.ee'] = array(
    'name' => 'spam.bns.ee',
    'server' => 'spam.bns.ee',
    'protocol' => 'imap',
    'port' => 143,
    'folders' => 'mail/',
    'namespace' => '',
    'maildomain' => 'spam.bns.ee',
    'preferred' => ''
);


To give a better picture i will put some lines from logs here to.

access_log for Apache server:
saurus.bns.ee - - [17/Apr/2001:08:33:35 +0200] "GET /horde/imp HTTP/1.1" 301
317
saurus.bns.ee - - [17/Apr/2001:08:33:36 +0200] "GET /horde/imp/ HTTP/1.1"
302 5
saurus.bns.ee - - [17/Apr/2001:08:33:37 +0200] "GET
/horde/imp/redirect.php?Horde=661054fb2418671ef4b79553e657dd83 HTTP/1.1" 302
5
saurus.bns.ee - - [17/Apr/2001:08:33:37 +0200] "GET
/horde/imp/login.php?Horde=661054fb2418671ef4b79553e657dd83 HTTP/1.1" 200
4251
saurus.bns.ee - - [17/Apr/2001:08:34:58 +0200] "POST /horde/imp/redirect.php
HTTP/1.1" 302 5
saurus.bns.ee - - [17/Apr/2001:08:34:59 +0200] "GET
/horde/imp/login.php?reason=failed&imapuser=toomas&server=spam.bns.ee
HTTP/1.1" 200 4388

imp.log

Apr 17 08:33:37 IMP [info] 195.222.25.195 login
Apr 17 08:34:58 IMP [info] PASSWORD RELOADED 195.222.25.195 to
amibel.bns.ee:143[imap] as toomas
Apr 17 08:34:59 IMP [info] 195.222.25.195 failed


Strange is that i get a ,message that something is wrong with
login/password , even when i know it is not.
When i log into Horde i can see from /var/log/secure that someones has loged
in and out for imapd. As i look
for the same thing when i tryed to log into IMP i did not get that.


What could be wrong?

Toomas