[imp] X-Originating-IP problem !!!!!!!!!!!!!!!!!]

Michal Szymanski horde at netlandia.pl
Mon Feb 3 13:22:45 PST 2003


On sob, lut 01, 2003 at 02:15:22 -0700, Michael M Slusarz wrote:
> Quoting Michal Szymanski <horde at netlandia.pl>:
> 
> | Hello,
> | 
> | Horde 2.2, IMP 3.1, postfix as MTA. I want X-Originating-IP appear in
> | outgoing mail. Everything goes fine, but in mail header i have only
> | header name without value (IP address). Contents of my header.txt:
> | 
> | X-Originating-IP: %REMOTE_ADDR%
> | 
> | Is it possible that variable name is not evaluated by php, or maybe it is
> | problem with postfix.
> 
> Most likely, the variable $_SERVER['REMOTE_ADDR'] was not available during
> the invocation of the PHP script (maybe because the host was behind a firewall?)

In my opinion the problem lies somewhere else. First of all, i can't print any 
variable name  (for examaple %REQUEST_METHOD% or %SERVER_PORT%). Besides when I 
run simple test.pl script, i see all values, REMOTE_ADDR too. I suspected that
postfix strips some headers, but it's not the case. I gave up. I really don't know
what's the problem. Tomorrow I try to install CVS version.

Does anybody have any idea how to solve this problem???????? It's quite important
form me. I want to run production mail server whith nice webmail, but i need to get it
working.

Greetings,

Michal Szymanski



More information about the imp mailing list