[imp] X-Originating-IP

Gonzalo G. Agulló ggarcia@uni2.es
Mon, 12 Feb 2001 17:44:46 +0100


Clive McDowell wrote:
> 
> Folks,
> 
> adding the line -
> 
> X-Originating-IP: %REMOTE_ADDR%
> 
> to header.txt causes the ip source header to be displayed in messages
> generated using imp. The problem with this is that if a proxy cache
> is used you get the cache address and not the client machine address.
> I have heard it suggested that there is a variable called
> HTTP_CLIENT_IP which will hold this information but using it instead
> of REMOTE_ADDR does not work. Is there any way to get imp to add the
> true client address rather than the cache address? I'm using horde
> 1.2.3/imp 2.2.3 with apache 1.3.14+php 4.0.4.

Hi, please remember there are situations like mine, where a private
network (with internal addressing) get internet access thru a proxy.
In that case, you get proxy's public IP address, but end user client
private addresses is not only hidden (security reasons) but also
invalid for your site.

So trying to get client user address could be anoying and useles...

cheers