How to Change the Sender Address for Exchange Online NDRs
Question details
The user needs to change the default external postmaster email address used for sending Non-Delivery Reports (NDRs) in Exchange Online.

- Product
- Exchange Online
- Device & OS
- not provided
- Scenario
- Managing organizational email flow and maintaining domain reputation to prevent outbound NDRs from being flagged as spam.
- Observed behavior
- Exchange Online sends non-delivery reports using the default onmicrosoft.com tenant domain instead of the organization's verified custom domain.
Ensure you are assigned the Exchange Administrator role in Microsoft 365 and have the Exchange Online PowerShell module installed on your system.
Configure a Custom External Postmaster Address via PowerShell
Use Exchange Online PowerShell to manually designate a specific external postmaster address on your verified custom domain.
By default, Exchange Online uses the tenant's onmicrosoft.com domain for the external postmaster address. Changing this to your verified custom domain helps align your NDRs with your standard email reputation, reducing the risk of them being caught in external spam filters.
Ensure the email address you plan to use belongs to an accepted and verified domain within your Exchange Online organization.
Open PowerShell as an administrator and run 'Connect-ExchangeOnline' to sign in with your administrator credentials.
Execute the following cmdlet, replacing the email with your desired address: Set-TransportConfig -ExternalPostmasterAddress postmaster@yourcustomdomain.com.
Run 'Get-TransportConfig | Format-List ExternalPostmasterAddress' to confirm that the new address has been successfully applied to your tenant.

Set Your Custom Domain as Default in Microsoft 365 Admin Center
Change your default domain in the Microsoft 365 Admin Center so that standard system addresses automatically use your custom domain.
Boost Your Productivity with WPS Office
While managing your Microsoft 365 and Exchange Online environments, consider WPS Office as a lightweight, free alternative for your daily document needs. It offers seamless compatibility with standard Office formats without the heavy subscription costs.
- 1. Download the Installer: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install the Software: Run the installer and follow the on-screen instructions to set up WPS Office on your computer.
- 3. Open Your Documents: Launch WPS Office and directly open your existing Microsoft Office files without needing to convert them.

Frequently Asked Questions
Why should I change the default external postmaster address for NDRs?
Changing the default onmicrosoft.com address to an address on your verified custom domain ensures that your NDRs align with your established email domain reputation. This significantly reduces the likelihood of these system messages being rejected or marked as spam by recipient mail servers.
Do I need special administrative permissions to make this change?
Yes, you must be assigned either the Exchange Administrator or Global Administrator role in Microsoft 365 to run the necessary Exchange Online PowerShell cmdlets.
Can I use any email address for the external postmaster?
The email address you configure must use a custom domain that has already been verified and configured as an accepted domain within your Exchange Online organization. Using an unverified domain will result in an error.
How long does it take for the new postmaster address to take effect?
After successfully running the PowerShell cmdlet, the change is typically applied within a few minutes, though it may take up to an hour for the configuration to fully replicate across all Exchange Online servers globally.




