Fix Office 365 Mail Flow Errors for Hosted Email Recipients
Question details
Determine why messages sent from a cPanel-hosted email server to Office 365 recipients fail with a “No such user” error.

- Product
- Microsoft 365 Exchange Online and cPanel-hosted email
- Device & OS
- not provided
- Scenario
- An organization uses Office 365 alongside a cPanel-hosted email server. Messages from Office 365 reach the hosted server, but messages in the opposite direction fail.
- Observed behavior
- The sender receives a non-delivery report containing “No such user” or a permanent 5.0.0 error.
Obtain the complete non-delivery report (NDR), including the diagnostic details and reporting server, and identify the affected recipient address. Share the report privately if it contains email addresses, IP addresses, or other sensitive information.
Identify the rejecting server and verify the recipient
Start with the NDR to determine where the message was rejected and whether the destination address exists.
Open the full bounce message and find the reporting server, remote server response, recipient address, and diagnostic code. A generic 5.0.0 code alone does not identify the cause.
In the Exchange admin center, open Recipients > Mailboxes, select the intended recipient, and review the mailbox email addresses. Confirm that the exact address in the NDR is assigned to a valid recipient.
In the Exchange admin center, open Mail flow > Accepted domains and verify that the domain in the recipient address is listed.
In the Exchange admin center, open Mail flow > Message trace and search by sender, recipient, and time. Use the result alongside the NDR to locate the rejection.

Check split-domain routing and Exchange Online connectors
Use these checks if the same email domain has recipients on both the hosted server and Exchange Online.
Verify DNS and the hosted server's sending identity
Use these checks when the NDR or mail logs point to an incorrect destination or sending-server configuration.
Document Mail Flow Troubleshooting with WPS Office
WPS Office is a free, lightweight alternative for working with Office files in a familiar interface, making it easy to move existing documents and spreadsheets. It does not repair Exchange Online or hosted email routing.

Frequently Asked Questions
Does “No such user” always mean the Exchange Online mailbox is missing?
No. The hosted server or another mail server may reject the address before the message reaches Exchange Online. Check the reporting server and diagnostic response in the full NDR first.
Where can I check whether the recipient address is an alias?
In the Exchange admin center, go to Recipients > Mailboxes, select the intended mailbox, and review its email addresses. Compare them with the exact address shown in the NDR.
When should an accepted domain use internal relay?
Internal relay may be appropriate when recipients for the same domain are hosted in more than one mail system. Review the complete routing design and any required connectors before changing the domain type under Mail flow > Accepted domains.
Should the hosted server's outbound IP match the MX record?
Not necessarily. MX records identify servers that receive mail for a domain; outbound mail can use a different IP. Verify the actual sending IP and hostname against the relevant connector, DNS, and filtering settings.




