Send & Receive Issues

How to Change the Sender Address for Exchange Online NDRs

Steve KSteve K Oct 26, 2026 868 views

Question details

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

How to Change the Sender Address for Exchange Online NDRs
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.
Before you start

Ensure you are assigned the Exchange Administrator role in Microsoft 365 and have the Exchange Online PowerShell module installed on your system.

Solution 1Recommended

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.

1
Connect to Exchange Online PowerShell

Open PowerShell as an administrator and run 'Connect-ExchangeOnline' to sign in with your administrator credentials.

2
Set the External Postmaster Address

Execute the following cmdlet, replacing the email with your desired address: Set-TransportConfig -ExternalPostmasterAddress postmaster@yourcustomdomain.com.

3
Verify the Configuration

Run 'Get-TransportConfig | Format-List ExternalPostmasterAddress' to confirm that the new address has been successfully applied to your tenant.

Configure a Custom External Postmaster Address via PowerShell
Configuration Applied: Once updated, all future non-delivery reports generated by your Exchange Online environment will use the newly configured postmaster address.
Free Microsoft Office alternative

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. 1. Download the Installer: Visit the official WPS Office website and download the free installation package for your operating system.
  2. 2. Install the Software: Run the installer and follow the on-screen instructions to set up WPS Office on your computer.
  3. 3. Open Your Documents: Launch WPS Office and directly open your existing Microsoft Office files without needing to convert them.
Completely free and lightweight Office suiteFully compatible with Microsoft Word, Excel, and PowerPoint (.docx, .xlsx, .pptx) formatsFamiliar user interface for immediate adoption and zero learning curveBuilt-in robust PDF editing and conversion toolsCross-platform support across Windows, macOS, Linux, iOS, and Android
microsoft office alternative - wps office

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.