Question : All Exchange 2007 email shows internal IP address of ISA server rather than origin address

I am running Microsoft Exchange server 2007 behind a Microsoft ISA server 2006 firewall.  My SPAM software running on Exchange 2007 server is having a difficult time because email header information is somehow modified.  The header information under “Received:” shows the correct domain of origin but not IP address. The IP address for all external incoming email shows the internal IP address of my ISA 2006 server firewall.  I am not sure if this is caused by my ISA server or Exchange server.  I need to make it so all email headers show the origin IP address.  I do know that outgoing internal IP addresses are replaced with external IP addresses but why on incoming and how do I change this?

Answer : All Exchange 2007 email shows internal IP address of ISA server rather than origin address

It is a zero padding issue. To address it you can use the following code. This is where I got the solution:

http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/Q_23178549.html

sew
1:
2:
3:
4:
@echo off
set hour=%time:~0,2%
if "%hour:~0,1%"==" " set hour=0%hour:~1,1%
copy S:\Apps\EAM\PDCApptLtr\Prod\Appointment_Combined.csv S:\Apps\EAM\PDCApptLtr\Prod\Appointment_Combined_%date:~4,2%%date:~7,2%%date:~12,2%%hour%%time:~3,2%%time:~6,2%.csv
Random Solutions  
 
programming4us programming4us