Book Image

Microsoft Exchange Server PowerShell Cookbook

Book Image

Microsoft Exchange Server PowerShell Cookbook

Overview of this book

Table of Contents (21 chapters)
Microsoft Exchange Server PowerShell Cookbook Third Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Implementing a header firewall


When messages are passed from one server to another through SMTP, Exchange Edge, and Mailbox servers, add custom X-Header fields to 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 rule processing statuses. 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 the internal information sent to an external source.

How to do it...

One of the most common uses of a header firewall is to remove the internal server infrastructure details from SMTP e-mail message headers destined for an external recipient. To do this, on an Edge Transport server, you need to modify the permissions for the Internet send connector using...