Monday, May 30, 2011

Remove server information in email header for MS Exchange 2007/2010


An email message consists of three components, the message envelope, the message header, and the message body. The message header contains control information, including, minimally, an originator's email address and one or more recipient addresses. Usually descriptive information is also added, such as a subject header field and a message submission date/time stamp.


Above definition is from Wikipedia. 


When a user receive an email from another user B, basically from the email header, we are able to view the sender's (user B) email server name and ip address unless these information is purposely masked.   
In Exchange 2007/2010, these information (server name, IP) will be populated in the message header basically is to allow the ease troubleshooting on the mail flow.


However, if you like to protect these internal server information from showing to whole world, you may try this at your Exchange Server. It's pretty simple and straight forward. 


Basically you just need to create a new Hub Transport rule at your Exchange 2007/2010 Hub Transport Server.


Named the rule - i choose "Remove Header".



Tick the selection "sent to users that are inside or outside the organization, or partners". Then modify it to "Outside the organization" on the drop-down button.

 Select the action "remove header".

Enter the word "Received" in the message header column. This will remove the Received line in the message header which is generate by Exchange server.


The rule is allow to insert for the exception. However, in this sample, i left it blank for the exception.

Create the rules

Rules created.


Done. With these, those server information will be safely protected. :)

No comments:

Post a Comment

Handy small toolkit

Sometimes, small toolkit might be handy for the day of administrator. Powershell Script to Get CPU,Memory and C Drive utilization (Server...