D
D
DiabloMariachi2014-01-09 14:08:13
SMTP
DiabloMariachi, 2014-01-09 14:08:13

How to hide extra SMTP headers?

Good afternoon,
when sending mail messages, all participants in the transfer are indicated in the headers
(local mailer - another mailer - antivirus.antispam - something else - mail gateway - recipient server)
below is a part of the message in the form in which it will be received by the addressee (names and ip changed)

Delivered-To: [email protected]
Received: by 10.114.11.170 with SMTP id r10csp20143ldb;
        Thu, 9 Jan 2014 02:40:49 -0800 (PST)
X-Received: by 10.15.36.135 with SMTP id xxxxxxxxxxxxx.xx.xxxxxxxxxxxxxx;
        Thu, 09 Jan 2014 02:40:49 -0800 (PST)
Return-Path: <[email protected]>
Received: from mailhost2.gateway.ru (mailhost1.gateway.ru. [217.xxx.xxx.xxx])
        by mx.google.com with ESMTPS id xxxxxxxxxxx.xxx.xxxx.xx.xx
        for <[email protected]>
        (version=TLSv1 cipher=RC4-SHA bits=128/128);
        Thu, 09 Jan 2014 02:40:49 -0800 (PST)
Received-SPF: pass (google.com: domain of [email protected] designates 217.xxx.xxx.xxx as permitted sender) client-ip=217.xxx.xxx.xxx;
Authentication-Results: mx.google.com;
       spf=pass (google.com: domain of [email protected] designates 217.xxx.xxx.xxx as permitted sender) [email protected]
Received: from MAILSERVER3.domain.ru ([xxx.xxx.xxx.xxx])
  by mailhost2.gateway.ru (8.13.8/8.13.8) with ESMTP id xxxxxxxxxxxx
  for <[email protected]>; Thu, 9 Jan 2014 14:40:48 +0400
X-IronPort-AV: E=Sophos;i="4.95,630,xxxxxxxxxxx"; 
   d="scan'208,217";a="xxxxxxxx"
Received: from MAILSERVER2.domain.ru  ([xxx.xxx.xxx.xxx])
  by MAILSERVER3.domain.ru with ESMTP; 09 Jan 2014 14:40:49 +0400
Received: from MAILSERVER1.domain.ru 
 ([::1]) with mapi id 14.03.0123.003; Thu, 9 Jan 2014 14:40:47 +0400
From: <[email protected]>
To: <[email protected]>

Question for connoisseurs,
how to hide the entire chain of mailers, except for the last mail gateway (mailhost2.gateway.ru)??

IronPort C160 AsyncOS mail gateway ver. 8.0.0
Thank you.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
Ars1s, 2014-01-10
@DiabloMariachi

On IronPort in the CLI look at the stripheaders filter

mail3.example.com> stripheaders
Not currently stripping any headers.
Choose the operation you want to perform:
- SETUP - Set message headers to remove.
[]> setup
Enter the list of headers you wish to strip from the messages before they 
are delivered. Separate multiple headers with commas.
[]> Delivered-To
Currently stripping headers: Delivered-To
Choose the operation you want to perform:
- SETUP - Set message headers to remove.
[]>
mail3.example.com>

A
Ars1s, 2014-01-10
@Ars1s

What mail server is used before the mail gateway?

D
DiabloMariachi, 2014-01-10
@DiabloMariachi

Exchange, but cleaning headers must be done on IronPort

A
Ars1s, 2014-01-10
@Ars1s

Get-SendConnector “Connector Name” | Remove-ADPermission -AccessRight ExtendedRight -ExtendedRights ms-Exch-Send-Headers-Routing -user “NT AUTHORITY\Anonymous Logon”

D
DiabloMariachi, 2014-01-10
@DiabloMariachi

All of you correctly advised about IronPort except Header
It is necessary to specify in the filter not "Delivered-To" but "Received" in my case.
Thank you!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question