[imp] need help !!!

Lokesh Khanna lkhanna@hughes-ecomm.com
Mon, 15 Apr 2002 19:27:05 +0530


Hi all

I have upgraded imp 2.2 to imp 3.0 on redhat 7.2 and maximum things are
working.
I am facing a strange problem..
my webmail server i[p address is 221.171.85.13 which get Nated into a valid
ip address 202.134.192.194. From internet 202.134.192.194 is accessible.
When i am sitting on 221.171.85.0 network , i am able to access my webmail,
but when i m sitting on internet , and trying to acces 202.134.192.194 , i
always get page not avaialable error. but when i do 202.134.192.194/test.php
, page is coming perfectly.

i found out that even if i m sititng on internet , my local browser tried to
find out 221.171.85.13 ( invalid ip address ) , and this ip address is not
accessible from internet , thats the reason every time i got page not found
error.

I tried to access 221.171.85.13 from 221.171.85.0 network and read the
source code of 1st login page  ( from IE , clicked on veiw source code ) and
got below o/p

<input type="hidden" name="redirect_url"
value="http://221.171.85.13/login.php
Horde=559a0f07976a19ae842e0969e85cde34&amp;Horde=559a0f07976a19ae842e0969e85
cde34" />
<input type="hidden" name="mailbox" value="INBOX" />

<table border="0" cellpadding="0" cellspacing="0"><tr><td class="menu">
<table border="0" width="300" class="menu">


Here my Question is , why i m getting ip address 221.171.85.13, it should
not be ip address specific . It should pick data from document root of my
web server,,thats the reason i am unable to access this.

Now which file i ahve to modify in IMP , so that it start working fine ?
IMP 2.2 works fine as reference point is document root of my web server .
How can i do same in IMP 3.0 ?
( I don't think so , i have to modify my httpd.conf file as that works fine
with imp 2.2 )
Regards

Lokesh Khanna
Engineer- IDC (Network Integration)
Internet Services Group