Implementing a header firewall

When messages are passed from one server to another through SMTP, Exchange edge and hub transport servers add custom X-Header fields into the message header. These headers can contain a variety of information such as mail server IP addresses, spam confidence levels (SCL), content filtering results, and rules processing status. Header firewalls are used to remove these custom X-Header fields so that unauthorized sources cannot obtain detailed information about your messaging environment. In this recipe, you'll learn how to use the Exchange Management Shell to implement a header firewall that prevents the disclosure of internal information sent to an external source.

How to do it...

One of the most common uses of a header ...

Get Microsoft Exchange 2010 PowerShell Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.