Remove header from outgoing mails in exchange 2010

Thank to: https://blog.virtualzone.de

Solution 1:


Exchange 2007/2010 offers an easy way to accomplish this. If your transport server sends outbound email directly using DNS lookup, or delivers to a smarthost without authentication, simply remove the Ms-Exch-Send-Headers-Routing permission assigned to Anonymous Logon — a well-known security principal that refers to anonymous users, as shown below:
Get-SendConnector “Connector Name” | Remove-ADPermission -AccessRight ExtendedRight -ExtendedRights ms-Exch-Send-Headers-Routing -user “NT AUTHORITY\Anonymous Logon”
Solution 2:

Here’s how to disable adding the header (or, to be more precise, how to remove it):


  1. Open the Exchange Management Console
  2. Open “Transport Rules” under “Organization Configuration” -> “Hub Transport”
  3. Add a new Transport Rule and give it a name (such as “Remove x-originating-ip header”)
  4. Do not choose any condition (we want to apply the rule to all mails)
  5. Choose “Remove header”, and modify the action to match the “x-originating-ip” header
  6. Do not choose any exception (except you want to, of course)
  7. Apply the new rule.


Comentarios

Entradas populares de este blog

Comando FOR para archivos BAT

Guía de herramientas básicas para estudiantes: 31 apps y webs imprescindibles para ayudarte con los estudios

How to Setup and Configure Your Own GitLab Server on Ubuntu 20.04