[imp] X-Originating-IP problem

Michael M Slusarz slusarz at bigworm.colorado.edu
Sat Feb 1 02:15:22 PST 2003


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?)

michael

______________________________________________
Michael Slusarz [slusarz at bigworm.colorado.edu]
The University of Colorado at Boulder


More information about the imp mailing list