[imp] Re: [horde] IMP login / redirect.php problem | Horde authenticationaffected as well

Sergey Dushenkov dusha at mcl.ru
Mon Jan 17 12:59:48 PST 2005


An additional update for IMP section:
In order to get into mail, I have to delete "/imp/redirect.php" from the 
URL, not only redirect.php.
When done, I can click in INBOX inside Horde screen to get Mail.


So, exact steps are:

1. open http://servername/horde
2. authenticate with mail server (I see IMP screen since I hace set IMP to 
authenticate users)
3. empty page is receive with url http://server/horde/imp/redirect.php
4. I delete "/imp/redirect.php" so the url looks like: http://server/horde
5. submit URL in IE
6. I'm in Horde main screen where I can click on INBOX (it appears as 
already authorized)

So I need to understand what happening and how to get rid of that tricks and 
to get redirected automatically to the required pages....

Sergey

----- Original Message ----- 
From: "Sergey Dushenkov" <dusha at mcl.ru>
To: <imp at lists.horde.org>; <horde at lists.horde.org>
Sent: Monday, January 17, 2005 10:52 PM
Subject: [horde] IMP login / redirect.php problem | Horde 
authenticationaffected as well


> Hi.
>
> Finally I've decided to upgrade to Imp 4x / Horde 3x
> Installation was successful but I have a problem that I'm unable to
> overcome.
>
> All Horde PHP tests are fine
> All IMP PHP tests (incl. IMAP section) are fine.
> I'm using Imap authentication.
>
> I'm open to give an URL for appropriate test.php if required.
>
> When I have deafult authentication configured by Horde (IMAP to local
> server), after a logon I see an empty page with URL somth like:
>
> http://server//horde/login.php?nocache=621ycjsxqv0g
>
> string after nocache= is changing when I try to logon again.
>
> Moreover, If I hit BACK in the browser, or just delete
> "login.php?nocache=621ycjsxqv0g" from the url and click submit in the
> browser (without closing it) - I'm getting IN!!!
>
> Nearly the same problem with IMP.
> No matter if IMP is configured to perform authentication, or I do it after
> Horde auth.
>
> After login and password are submitted, I'm getting the blank screen with
> URL:
>
> http://server/horde/imp/redirect.php
>
> URL is always the same after IMP auth.
> Looks like the redirect.php is not putting up a session???
>
> And again, when I try BACK or remove redirect.php from URL, I'm getting 
> into
> IMP.
>
> I've looked through httpd logs, maillogs and eveything appears to be fine.
> Below are some line from httpd log:
>
> 217.xxxx - - [17/Jan/2005:22:26:52 +0300] "GET / HTTP/1.1" 302 26
> 217.xxxx - - [17/Jan/2005:22:26:54 +0300] "GET
> /horde/login.php?Horde=19cbf1a31660acc81b525caa2d96a42f HTTP/1.1" 302 26
> 217.xxxx - - [17/Jan/2005:22:26:55 +0300] "GET /horde/imp/login.php
> HTTP/1.1" 200 2759
> 217.xxxx - - [17/Jan/2005:22:26:57 +0300] "GET /horde/js/enter_key_trap.js
> HTTP/1.1" 304 -
> 217.xxxx - - [17/Jan/2005:22:26:57 +0300] "GET /horde/themes/screen.css
> HTTP/1.1" 304 -
> 217.xxxx - - [17/Jan/2005:22:26:58 +0300] "GET
> /horde/themes/bluewhite/screen.css HTTP/1.1" 304 -
> 217.xxxx - - [17/Jan/2005:22:26:58 +0300] "GET 
> /horde/imp/themes/screen.css
> HTTP/1.1" 304 -
> 217.xxxx - - [17/Jan/2005:22:26:58 +0300] "GET
> /horde/imp/themes/bluewhite/screen.css HTTP/1.1" 304 -
> 217.xxxx - - [17/Jan/2005:22:26:58 +0300] "GET
> /horde/themes/graphics/horde-power1.png HTTP/1.1" 304 -
> 217.xxxx - - [17/Jan/2005:22:27:06 +0300] "POST /horde/imp/redirect.php
> HTTP/1.1" 200 26
>
> Looks like that notthing happens after the POST action (redirect.php 
> should
> take login and redirect to the proper page)
>
> I've tried to configure Horde/IMP on two different Linux machines (to 
> ensure
> that this is not platform dependant problem)
> Situation is the same on both installations (or I am making the same
> errors...)
>
> Config1: Redhat Linux 7.3 / 2.4 kernel / glibc 2.2 / PHP 4.3.10 / apache 
> 1.3
> / imap-2001
> Config2: Fedora Core 3  / 2.6 kernel / glibc 2.3 / PHP 4.3.10 / httpd 
> 2.0.52
> / cyrus-imapd v2
>
> Config 2 is fresh installation with all updates in place.
>
> I can provide all configs by request.
> As well I can arrange a test shell/mail account to look into the problem
> locally.
> If that doesn't help or not enough, I'm ready to discuss to give a SU
> account...
>
> Thanks in advance.
>
>
> Sergey
>
>
>
>
>
> -- 
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org 



More information about the imp mailing list