Exchange Recipient Display
When I get a bounced message from my Exchange 2007 server, the sender is showing as, for example, "AdminUser1" instead of "Microsoft Exchange". How do I go about changing it back to "Microsoft Exchange"? I have used set-organizationconfig -MicrosoftExchangeRecipientReplyRecipient to set an account to receive a copy of all bounced messages. Does Exchange use this account as the sender also? No matter what account I set the MicrosoftExchangeRecipientReplyRecipient to use, the display of the sender of the bounced message is always "AdminUser1". Thanks.
December 8th, 2009 12:56am

Hi, Please check the MicrosoftExchangeRecipientPrimarySmtpAddress attribute in Org config. Get-OrganizationConfig | fl MicrosoftExchangeRecipientPrimarySmtpAddress It is this address by which all Bounces goes out. Check the attribute "MicrosoftExchangeRecipientEmailAddresses" on Org Config. (Get-OrganizationConfig).MicrosoftExchangeRecipientEmailAddresses Please check if the email address you are talking about is present. If yes then try below... $org = Get-OrganizationConfig $index = $org.MicrosoftExchangeRecipientEmailAddresses.indexof("Proxy Address String of Desired SMTP Address ") $org.MicrosoftExchangeRecipientEmailAddresses.makeprimary($index) Set-organizationconfig -MicrosoftExchangeRecipientEmailAddresses $org.MicrosoftExchangeRecipientEmailAddresses -MicrosoftExchangeRecipientEmailAddressPolicyEnabled $false Set-OrganizationConfig -MicrosoftExchangeRecipientEmailAddressPolicyEnabled $true Copy and paste them in notepad and save that as Config.ps1 and execute it. (also make sure Execution policy is set to unrestricted). Assuming that you already have the default Exchange Recipient SMTP address in MicrosoftExchangeRecipientEmailAddresses attribute, The above code will change that and make that as primary and make that as default SMTP address on all bounces. The AdminUser1 will still be receiving mails sent to Default Exchange recipient or Postmaster or so. Just replace the "Proxy Address String of Desired SMTP address" to one of the SMTP address from Emailaddresses Attribute e.g. "SMTP:MicrosoftExchange@domain.com" Let us know if any question. Thanks. Vishal Ramnani | MCITP - Exchange 2007 | MCSE Messaging | MCTS - Win 2008 Config
Free Windows Admin Tool Kit Click here and download it now
December 10th, 2009 5:29pm

Thank you Vishal for your reply. Here are the outcome of the MicrosoftExchangeRecipientPrimarySmtpAddress and MicrosoftExchangeRecipientEmailAddresses attributes: MicrosoftExchangeRecipientPrimarySmtpAddress : MicrosoftExchange329e71ec88ae4615bbc36ab6ce41109e@company.com MicrosofttExchangeRecipientEmailAddresses : {X400:C=US;A= ;P=ABC Corp;O=Exchange;S=MicrosoftExchange329e71ec88ae4615bbc36ab;,SMTP:MicrosoftExchange329e71ec88ae4615bbc36ab6ce41109e@company.com} I do not see the email address of the "AdminUser1" in these attributes. Here are some more details of our Exchange setup: - Currently running in a co-existence organization with Exchange 2003 servers - Exchange 2007 servers have service pack 2 installed Thanks again.
December 11th, 2009 11:50pm

Ok. If you are talking about NDR for external Senders then you should set it on TransportConfig Get-TransportServer | FL Identity, ExternalPostMasterAddress Let us know the result of above cmdlet. And i suggest you refer below article if you have not already. http://technet.microsoft.com/en-us/library/bb400930(EXCHG.80).aspx Thanks.Vishal RamnaniMCITP - Exchange 2007, MCSE Messaging, MCTS - Win 2008 Config
Free Windows Admin Tool Kit Click here and download it now
December 12th, 2009 12:20am

The problem is with the internal senders. I have not set an external postmaster address (default is fine for us) Identity : Server1 ExternalPostmasterAddress : It's weird. I couldn't find anywhere that it would have the AdminUser1 set. I tried to look through many Exchange objects' attributes in AD, but couldn't find anything. I did follow the article that you mentioned when I setup the copy. Thanks again.
December 14th, 2009 5:54pm

Hi, Did you try adding a primary SMTP address to MicrosoftExchangeRecipientPrimarySmtpAddress attribute in Org Config? Set-OrganizationConfig -MicrosoftExchangeRecipientEmailAddressPolicyEnabled $False -MicrosoftExchangeRecipientPrimarySmtpAddress "MicrosoftExchange@Domain.com" Set-OrganizationConfig --MicrosoftExchangeRecipientEmailAddressPolicyEnabled $True Thanks. Vishal Ramnani MCITP - Exchange 2007, MCSE Messaging, MCTS - Win 2008 Config
Free Windows Admin Tool Kit Click here and download it now
December 16th, 2009 11:36am

Ok. Here is one more thing you need take care. Make sure that a Display Name set in AD for "MicrosoftExchange329e71ec88ae4615bbc36ab6ce41109e@company.com" email address which you see on Organization config. To See the display name for this object follow the instructions below. Open ADSIEdit.msc Browse through the location as mentioned below. (Configuration Partition in AD) CN=MicrosoftExchange329e71ec88ae4615bbc36ab6ce41109e,CN=Transport Settings,CN=<Exchange Organization name>,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=<CompanyDomain>,DC=com Open the properties of "CN=MicrosoftExchange329e71ec88ae4615bbc36ab6ce41109e" in right hand side pan. Locate the displayname attribute and Make sure that it is displaying "Microsoft Exchange" if not then change it to Desired Displayname. Ok to close and close ADSIEdit. Please let us know how it goes. Thanks. Vishal Ramnani MCITP - Exchange 2007, MCSE Messaging, MCTS - Win 2008 Config
December 18th, 2009 2:14pm

Hi Vishal, The "MicrosoftExchange329e71ec88ae4615bbc36ab6ce41109e" object does have its DisplayName attribute set to "Microsoft Exchange". For the "MicrosoftExchangeRecipientPrimarySmtpAddress" attribute in Org Config, if I set it to any address (ie: "test@company.com) on my test Exchange server (in a test AD forest), the NDR will display the sender as the address that I set "MicrosoftExchangeRecipientPrimarySmtpAddress" to. So if I set it to test@company.com, all NDR show test@company.com as the sender. If I revert it back via MicrosoftExchangeRecipientEmailAddressPolicyEnabled $True, then it shows as "Microsoft Exchange" again - which is great. However, this doesn't happen with my production Exchange server. Whatever I set the "MicrosoftExchangeRecipientPrimarySmtpAddress" to, it will still show as "AdminUser1" as the sender. I tried to set it then revert back via MicrosoftExchangeRecipientEmailAddressPolicyEnabled $True, but it still shows as "AdminUser1". I'm beginning to think that the problem might be with the co-existence with Exchange 2003. Do you know if there's an equivalent place in Exchange 2003 that might control who the NDR sender is? It seems that the Exchange 2007 server is ignoring these settings in OrgConfig. Thanks.
Free Windows Admin Tool Kit Click here and download it now
December 18th, 2009 9:59pm

As far as i know, the sender name in NDR comes as a display name set in the property of Exchange Recipient object in ADSIEdit which by default is "Microsoft Exchange". If the property changed to any other displayname it will be back to "Microsoft Exchange" if any property is modified on Organization config. I did some testing as well for the same. The above is not the case with you so i think this may be because Exchange 2003 servers are involved. unfortunately never tested it in coexistence. something related to postmaster account in AD! Reference- http://www.eggheadcafe.com/software/aspnet/32322047/customize-the-ndr-sender.aspx Thanks. Vishal Ramnani MCITP - Exchange 2007, MCSE Messaging, MCTS - Win 2008 Config
December 21st, 2009 12:58pm

Vishal, That was it! The "AdminUser1" account has postmaster@company.com as one of its SMTP addresses. After I removed it, the NDR is showing the correct sender now. It's funny how even if a user with a mailbox on Exchange 2007 server sends a bad message and gets an NDR that Exchange still uses the settings in 2003 and ignoring the 2007 settings. Thank you very much for all your help. Happy New Year.
Free Windows Admin Tool Kit Click here and download it now
December 30th, 2009 5:32pm

Glad it worked out. Wish you the same. :) Vishal Ramnani MCITP - Exchange 2007, MCSE Messaging, MCTS - Win 2008 Config
December 30th, 2009 5:41pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics