KB Article #158045

Remove Received headers on Outbound emails

Problem


In Email Firewall (EMF) there is a special policy type meant to remove/hide internal hostnames and IP addresses from message headers. What are the steps to achieve this in MailGate?

Resolution


1. Create an Outbound Delivery policy with the following summary:

IF:    any message
THEN:    remove the headers: 'Received' and continue processing

This policy would remove any 'Received' headers added before MailGate (MG) relays the message out.

Since a header containing MG information will be added to the message on its way out, you could use a Virtual IP instead of the internal IP address of the MG box. In order to do so:

1. Under Admin UI > Administration > Network Settings > Interface > create an alias for the 'eth' interface you are using for mail traffic.
2. Configure a Delivery Route to use the Outbound IP Virtualization under Relay Policies > External > Deliver Routes > Default > Local IP Virtualization. Select the "Enable virtual IP addresses for delivery" checkbox and move the virtual IP from the left to the right pane.

The 'Received' header added by MG will then contain the virtual IP and its corresponding DNS record.