I'm not sure if this is possible. I would like to hide the Exchange server address in non-delivery-reply (NDR) messages.
I tried the following command: Get-RemoteDomain "default" | Set-RemoteDomain -NDRDiagnosticInfoEnabled $false
But it still shows the mail.server.com address in the NDR. Is it possible to hide that in the reply?