Link to home
Start Free TrialLog in
Avatar of Jon_Ws
Jon_WsFlag for Cambodia

asked on

How to remove server name appended to Exchange 2010 SMTP message header content-type boundary

Exchange 2010 help clearly states that SMTP message header removal or re-writing for content-type boundary is not possible through a transport rule and for good reason - message encryption etc..
   http://technet.microsoft.com/en-us/library/aa996806.aspx

So how do you get Exchange to exclude the server name and domain name at the end of the unique id in the first place.

This question has been asked in TechNet and no answer was provided.  However, it does highlight that in some installations the server and domain is appended and in some installations it does not.
http://social.technet.microsoft.com/Forums/en-US/exchangesvrtransport/thread/8139f4ed-2c44-4b7c-9526-f08f48180db0

The issue is highlighted in the SMTP message header below.  The reason for wanting to hide the server and domain information is that we provide email for three different domains and don't wish to link them.

Subject: hi
Thread-Topic: hi
Thread-Index: AcveAJ172eb6O/YkQ/GrIX0R8PYMog==
Date: Wed, 9 Mar 2011 02:20:53 +0000
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Content-Type: multipart/alternative;
      boundary="_000_CB9E838BBA01344FAB96683C91CC0521E331ServerNameDomain_"
MIME-Version: 1.0

--_000_CB9E838BBA01344FAB96683C91CC0521E331iitServerNameDomain_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Any help much appreciated.
Thanks
Avatar of MegaNuk3
MegaNuk3
Flag of United Kingdom of Great Britain and Northern Ireland image

Avatar of Jon_Ws

ASKER

The cmdlet Remove-ADPermission to remove the Ms-Exch-Send-Headers-Routing permission from the 'received', 'x-originating-ip' and other 'x-headers' that are used internally had been applied previously.   This removed other header items but doesn't help with the content-type boundary string setting.  Good suggestion though and should have put in the original question for completeness.
I was thinking it might not help with the content type boundary string, but worth testing.

Might be time to call MS... Depends how badly you want to do it.
Avatar of Jon_Ws

ASKER

Thanks.  We're just getting the MS support agreement .... interesting that our Exchange 2007 solution did not have this problem.  A new feature for 2010.
Avatar of Jon_Ws

ASKER

The content type boundary server/domain information seems to be set by the email client being used not the exchange server.  So the problem is noticeable with outlook, weboutlook but not Mac Mail and some other email clients.
This explains why the content type boundary string sometimes has server and domain and at other times not.
Interesting, thanks for update
ASKER CERTIFIED SOLUTION
Avatar of Jon_Ws
Jon_Ws
Flag of Cambodia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for the update and final solution
Avatar of Jon_Ws

ASKER

Nobody could come up with an answer so needed an effective work around.
Avatar of davidsat
davidsat

hi Mr. Jon, I have write a blog to how remove message header in exchange 2010, please check it out http://demagnum.wordpress.com/2011/12/30/remove-message-header-in-exchange-2010/ 
i hope my article get help issue in your exchange 2010.