SOLVED

NDR from Office 365 to On-prem Mailboxes

Copper Contributor

Hello,

 

I'm in the process of moving my organization to Office 365.  My Exchange server is 2010 and I am using the minimal hybrid option.  I've ran the HCW and set up Azure AD Connect and I'm in the process of testing the hybrid configuration.  I'm finding that I can send email from on-prem mailboxes to remote mailboxes in Office 365 that I created from the Exchange 2010 EMC.  But when sending from a remote mailbox in Office 365 to an on-prem mailbox, I get an NDR with error: 

550 5.1.351 Remote server returned unknown recipient or mailbox unavailable -> 550 Requested action not taken: mailbox unavailable

 

I found this KB article but I do not see the "Shared" option in the properties window for my domain.

https://support.microsoft.com/en-us/help/2730609/on-premises-users-aren-t-getting-email-messages-fro...

 

Thanks,

Mike D

 

3 Replies

Hey Mike,

 

I would be interested to know if it is O365 or your 2010 server doing the bouncing.

 

If you setup the HCW correctly, than the connectors put in place should handle mailflow for you. You should not have to go and change any settings with your domain, the HCW should put in place everything you need to flow properly.

 

If it is making it out of O365 and you are getting that error, it could be something like firewall related.

 

If it is not making it out of O365, than it is likely something in your settings or exchange connector.

 

Also is there a mail user in O365 for the address? Those are created from AADC when an account exists on prem but has yet to be migrated. It creates the mail user in O365 so you know it exists as an object, but will route the mail to on-prem. It would be worth checking if that is the case.

 

Adam

 

Hello,

 

Thank you for the reply.  The NDR is from Office 365.  When I look at Recpients > Contacts in the Exchange Admin center, I do see a mail user object for the on-prem mailbox that I'm trying to send to.

best response confirmed by Mike D (Copper Contributor)
Solution

Hey Mike,

 

If the connector is configured correctly, it should forward any mail that has that domain to your on prem exchange server. The Mail user objects are there for users you may eventually migrate over.

 

With that said, I would say this is a problem with your routing.

 

1. Set the domain you are using to internal relay. That is the setting that should be enabled. That means "dont go look at the outside world."

 

2. If your connectors are setup, this means that the mailbox should only ever exist on prem or on O365.


If you had mail user objects for all your users, or when you are done migrating, the domain should be authoritative. You can see what the different settings mean here - https://docs.microsoft.com/en-us/exchange/mail-flow-best-practices/manage-accepted-domains/manage-ac...

 

From your description, right now you need to be internal relay, and ensure you have your connector setup right. If you change it to internal relay, and are still having issues an hour from now, re-run the HCW to reconfigure your connector.

 

Adam

1 best response

Accepted Solutions
best response confirmed by Mike D (Copper Contributor)
Solution

Hey Mike,

 

If the connector is configured correctly, it should forward any mail that has that domain to your on prem exchange server. The Mail user objects are there for users you may eventually migrate over.

 

With that said, I would say this is a problem with your routing.

 

1. Set the domain you are using to internal relay. That is the setting that should be enabled. That means "dont go look at the outside world."

 

2. If your connectors are setup, this means that the mailbox should only ever exist on prem or on O365.


If you had mail user objects for all your users, or when you are done migrating, the domain should be authoritative. You can see what the different settings mean here - https://docs.microsoft.com/en-us/exchange/mail-flow-best-practices/manage-accepted-domains/manage-ac...

 

From your description, right now you need to be internal relay, and ensure you have your connector setup right. If you change it to internal relay, and are still having issues an hour from now, re-run the HCW to reconfigure your connector.

 

Adam

View solution in original post