Exchange Connection Problems

Fix Office 365 Mail Flow Errors for Hosted Email Recipients

Khadija KhanKhadija Khan Nov 14, 2026 868 views

Question details

Determine why messages sent from a cPanel-hosted email server to Office 365 recipients fail with a “No such user” error.

Fix Office 365 Mail Flow Errors for Hosted Email Recipients
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.
Before you start

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.

Solution 1Recommended

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.

1
Inspect the NDR

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.

2
Check the mailbox and aliases

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.

3
Check the accepted domain

In the Exchange admin center, open Mail flow > Accepted domains and verify that the domain in the recipient address is listed.

4
Trace the message if it reached Exchange

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.

Identify the rejecting server and verify the recipient
The rejection point matters: If the cPanel server rejects the message before it reaches Exchange Online, an Exchange message trace may not contain it. Check the hosted server's mail logs instead.
Free Microsoft Office alternative

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.

Record NDR findings and mail-routing checks in documents or spreadsheetsOpen and edit Microsoft Word DOCX and Excel XLSX filesUse a familiar interface for an easy transition from Microsoft OfficeWork with a free, lightweight office suite
microsoft office alternative - wps office

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.