Can anyone help how I can instruct Exchange 2013 to include X-Forwarded-For header in mail headers. Usually as per standard, X-Originating-IP is added in mail headers. However, when Exchange 2013 OWA URL is load balanced using F5 (or any other hardware load balancer), X-Originating-IP would point to load balancer self IP. There is a feature in load balancers to add X-Forwarded-For header when HTTP packets are forwarded to CAS servers by F5. Exchange 2013 is able to detect original client IP in IIS logs through X-Forwarded-For header, but this headers is not captured by Exchange.
Regards,
Ramesh