[imp] imp through forwarded port

Delmer Wells delmer at delmer.com
Wed Jun 11 08:55:16 PDT 2003


I installed IMP a few weeks back and it is useable.  I have a problem,
however, with users making use of it from outside our firewall -- some extra
steps are required that makes the process more complicated than necessary.

Users login to imp by going to https://xxx.xxx.xxx.xxx:1080 and are then
forwarded to a box behind the firewall.

In a nutshell, following authentication it looks like redirect.php is trying
to open https://xxx.xxx.xxx.xxx/horde/imp/mailbox.php and failing so users
appear to hang at https://xxx.xxx.xxx.xxx:1080/horde/imp/redirect.php.
Hitting the back button on the browser exposes the failed url.

What I need to make happen is have redirect.php send people to
https://xxx.xxx.xxx.xxx:1080/horde/imp/mailbox.php.  (The problem I'm having
is the port number is getting stripped out.)

I've found that I can hardcode several of the variables in redirect.php and
still get things to work (I always restore an original copy of the file when
I'm done playing) but I've yet to find the solution I need.

I believe the item I need to change is the 'redirect_url' in the Create
Session section of redirect.php --  possibly the following snippet of code.


if (Horde::getFormData('redirect_url')) {
	header(Location: ' . Horde::getFormData('redirect_url'));
exit;
}


Finally, I thought I posted a similar question a couple of weeks ago.  I
searched through past questions and couldn't find anything I'd posted.  If I
have asked this before, please accept my apologies.

DHW



More information about the imp mailing list