Link to home
Start Free TrialLog in
Avatar of BigBadWolf_000
BigBadWolf_000Flag for United States of America

asked on

How do I prevent the internal FQDN from showing in the received header - Exchange 2010

Exchange 2010 SP1
Lets say MX points to mymail.mydomain.com
The exchange server internal FQDN is red.mydomain.com
FQDN on send connector is set to mymail.mydomain.com

However when I send a message...when external receipient gets msg...the header still shows the internal FQDN of the exchange server i.e. red.mydomain.com

How do I prevent this from showing in the header for external receipient???
you see this in the begining of header...  received: from mymail.mydomain.com
but then the internal name shows as you scroll down...  received: from red.mydomain.com

I tried changing the default in the Server Config > hub T area and removing Exc Auth, restart Transport service, but that did not work
Avatar of endital1097
endital1097
Flag of United States of America image

set-receiveconnector "client servername" -fqdn mail.domain.com
ASKER CERTIFIED SOLUTION
Avatar of Akhater
Akhater
Flag of Lebanon 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
Avatar of BigBadWolf_000

ASKER

endital1097: in PS 2010SP1 I do not have a set-receiveconnector  cmdlet
Akhater: I do not have the "Get-SendConnector " cmdlet in  2010SP1
I also did...
get-help set-*
t-help get-*
....I don't see them listed, I am running PS in elevated admin mode
you need to run it from the exch management shell
you can also go to properties of the connector from the exch management console and updat the fqdn

you also can check your send connector fqdn in the gui under organization config - hub trnasport - send connector tab
endital1097: Thanks ...
In EMC - I do have the send connector FQDN set to mymail.mydomain.com  ... and this display s in the start of the header...however in the rest of the references in the Header the internal FQDN is still displayed>>> I tried changing the FQDN for bothe Client and Default in Server Gongig > Hub > receive connectors....restart ExcTransprt Svc....no luck

SOLUTION
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
use the link I gave you and run it form EMS (Exchange Management Shell)
Akhater: I did that....it worked for the receive: part...However, it still displays the internal FQDN in the Message-ID and Content-Type areas of the header....any thoughts
you used the article I liked to ? get-sendconnector  & remove-adpermission?
yes.....although I am not comfortable with removing permissions...I would like to use a transport rule intstead.
as far as I know it is only doable using the remove-adpermission as shown in the first link I gave you
But it does not hide is completely still shows with  Message-ID and Content-Type areas of the header
did you restart the msexchangetransport service ?
yes
You said message ID ?

do you mind pasting a relevant portion of the email ?
I remove the IP and replaced actual internal FQDN with the one in example....

Date: Sun, 12 Sep 2010 19:55:45 +0000
Message-ID: <09E87EBD9D23234287C62CB74C10CC200469C4@RED.MyDomain.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [xx.xx.xx.xx]
Content-Type: multipart/alternative;
 boundary="_000_09E87EBD23459C4087C62CB74C10CC200469C4REDMyDomain_"
MIME-Version: 1.0
i take it this is an outbound email ??
for the message ID please go to Organization config -> hub transport -> pick the send connector
there change/set a FQDN in the reserved place this should solve it


for the x-originating-ip as far as I know it is new with 2010 SP1 you can easily remove it with a transport rule

set your rule applies to emails sent to users outside my organization and in the action remove header x-originating-ip

Akhater: FQDN is alreadyset to externa,l name in  Organization config -> hub transport -> send connector ......and MsgID shows internal name

FYI....transport rule works to remove header "received" to not display internal name
so no permissions need to be changed

However still need help with MsgID and Content-type showing internal name
How can I set multple action values in a transport rule???
How can I set multple action values in a transport rule???

actually you can't just create multiple transport rules
It seems like you can set multiple transport rules (with different priorities).....however it does not let me enter multple action values ...like an Outlook rule would...

i.e I want to set for condition outgoing mail...action remove headers...valuse = recieved, message-id....but it lets me put in only one value
yes exactly what I said, create multiple transport rules all with the same condition each in the action remove one of the headers
Thanks for all your help on this issue