Migrated Mailbox Able to Send but not Receive

%3CLINGO-SUB%20id%3D%22lingo-sub-1096194%22%20slang%3D%22en-US%22%3EMigrated%20Mailbox%20Able%20to%20Send%20but%20not%20Receive%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1096194%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20have%20recently%20setup%20a%20full%20hybrid%20exchange%20environment%20using%20Microsoft's%20Hybrid%20Exchange%20tool.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20created%20a%20test%20mailbox%2C%20setup%20some%20calendar%20items%2C%20sent%20and%20received%20some%20email%20before%20I%20migrated%20it.%3C%2FP%3E%3CP%3EAfter%20migrating%20it%2C%20everything%20is%20still%20there%20(calendar%2C%20emails%20etc)%2C%20and%20the%20mailbox%20can%20send%20emails%2C%20however%20any%20emails%20sent%20to%20this%20mailbox%20are%20not%20received.%3C%2FP%3E%3CP%3EAfter%20a%20few%20hours%2C%20the%20sending%20mailbox%20will%20receive%20a%20postmaster%20email%20saying%20that%20%22Delivery%20is%20delayed%22.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOne%20idea%20I%20had%20that%20I%20thought%20might%20be%20the%20issue%20is%20the%20send%20connector%20on%20EOP.%3C%2FP%3E%3CP%3EDelivery%20is%20currently%20set%20to%20%22MX%20record%20associated%20with%20recipient%20domain%22.%3C%2FP%3E%3CP%3EThe%20MX%20record%20is%20currently%20set%20to%20Mimecast%20which%20then%20only%20redirects%20to%20EOP%20(no%20other%20transport%20rules).%3C%2FP%3E%3CP%3EShould%20this%20not%20be%20set%20to%20forward%20to%20Office%20365%3F%20Would%20we%20need%20to%20configure%20the%20%22Route%20mail%20through%20smart%20hosts%20settings%22%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20help%20would%20be%20much%20appreciated.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1096194%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%20Server%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EHybrid%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1096251%22%20slang%3D%22en-US%22%3ERe%3A%20Migrated%20Mailbox%20Able%20to%20Send%20but%20not%20Receive%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1096251%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F329754%22%20target%3D%22_blank%22%3E%40nitvit610%3C%2FA%3E%26nbsp%3Byour%20Hybid%20configuration%20has%20not%20been%20done%20correctly%20in%20this%20case.%20You%20should%20leave%20mail%20coming%20to%20EOP%20for%20the%20time%20being%20(until%20most%20users%20are%20migrated%2C%20I%20would%20typically%20switch%20at%20around%20the%20half%20way%20mark%20at%20which%20point%20you%20tell%20Mimecast%20to%20send%20email%20to%20Office%20365%20and%20not%20on-prem).%3C%2FP%3E%3CP%3EEmail%20is%20obviously%20not%20being%20sent%20from%20on-prem%20to%20Exchange%20online%20which%20means%20that%20there%20is%20an%20issue%20with%20your%20send%20connectors%2C%20I%20would%20review%20the%20connector%20configuration%20to%20see%20what%20the%20issue%20is.%20The%20Hybid%20configuration%20wizard%20should%20have%20created%20new%20connectors%3A%26nbsp%3B%3CSPAN%3Enew%20and%20existing%20Send%20and%20Receive%20connectors%20in%20the%20on-premises%20organization%20and%20Inbound%20and%20Outbound%20connectors%20in%20Exchange%20Online%20(see%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fhybrid-configuration-wizard%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fhybrid-configuration-wizard%3C%2FA%3E).%20So%20check%20if%20they%20are%20there.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1096301%22%20slang%3D%22en-US%22%3ERe%3A%20Migrated%20Mailbox%20Able%20to%20Send%20but%20not%20Receive%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1096301%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F431307%22%20target%3D%22_blank%22%3E%40CloudHal%3C%2FA%3Eyou%20are%20indeed%20correct%20that%20the%20Hybrid%20Configuration%20Wizard%20has%20created%20the%20send%20and%20receive%20connectors%20in%20both%20Office%20365%20and%20EOP.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20not%20too%20sure%20how%20they%20should%20be%20setup.%20Initially%20I%20chose%20the%20%22Configure%20my%20Client%20Access%20and%20Mailbox%20servers%20for%20secure%20mail%20transport%20(typical)%22%20option%2C%20however%20there%20is%20another%20option%20for%20%22Configure%20my%20Edge%20Transport%20servers%20for%20secure%20mail%20transport%22%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F164222iCF0A3636B0683462%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22clipboard_image_0.png%22%20title%3D%22clipboard_image_0.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EShould%20I%20be%20using%20the%20second%20option%20to%20have%20mail%20flow%20through%20EOP%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOn%20the%20second%20page%20it%20has%20me%20choose%20EOP%20to%20host%20receive%20connectors%20for%20secure%20mail%20transport%2C%20and%20I%20picked%20the%20only%20option%20available%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F164223i09BA92766C22A9E7%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22clipboard_image_1.png%22%20title%3D%22clipboard_image_1.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEverything%20else%20goes%20through%20fine%20and%20it%20doesn't%20show%20any%20sign%20of%20error%2C%20however%20the%20mailbox%20is%20still%20unable%20to%20receive.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELooping%20back%20to%20my%20original%20point%2C%20might%20it%20have%20anything%20to%20do%20with%20the%20send%20connector%20in%20EOP%20(Outbound%20to%20Office%20365%20rule)%3F%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F164224iB913B0BF59AE8632%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22clipboard_image_2.png%22%20title%3D%22clipboard_image_2.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EThe%20MX%20record%20is%20set%20to%20Mimecast%2C%20which%20then%20directs%20to%20EOP%2C%20however%20if%20it's%20trying%20to%20use%20the%20send%20connector%2C%20won't%20it%20just%20create%20an%20infinite%20loop%20of%20sending%20to%20itself%3F%3C%2FP%3E%3CP%3EWould%20I%20need%20to%20set%20a%20smart%20hosts%20to%20Office%20365%20instead%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20again!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1098609%22%20slang%3D%22en-US%22%3ERe%3A%20Migrated%20Mailbox%20Able%20to%20Send%20but%20not%20Receive%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1098609%22%20slang%3D%22en-US%22%3EHi%20there%2C%20you%20need%20an%20understanding%20of%20how%20mail%20routing%20between%20on-prem%20users%2C%20and%20migrated%20online%20users%20works.%20It%20doesn't%20create%20a%20mail%20loop%20because%20it%20uses%20an%20internal%20routing%20domain%20which%20is%20%40yourtenant.mail.onmicrosoft.com.%20This%20is%20explained%20here%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Ftransport-routing%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Ftransport-routing%3C%2FA%3E%20in%20the%20section%20called%20Route%20incoming%20Internet%20messages%20through%20your%20on-premises%20organization.%3CBR%20%2F%3E%3CBR%20%2F%3ESo%20the%20outbound%20connector%20to%20O365%20is%20limited%20to%20this%20domain%2C%20and%20your%20migrated%20user%20should%20have%20a%20TargetAddress%20%40yourtenant.mail.onmicrosoft.com.%20So%20if%20you%20send%20an%20email%20to%20this%20user%2C%20Exchange%20knows%20the%20user%20has%20been%20migrated%20due%20to%20the%20target%20address%2C%20and%20sends%20the%20email%20through%20the%20O365%20send%20connector.%20I%20would%20look%20at%20your%20migrated%20user%20to%20see%20if%20they%20have%20been%20migrated%20correctly%2C%20if%20so%20the%20targetaddress%20attribute%20will%20be%20set.%20You%20should%20also%20see%20them%20in%20the%20ECP%20on-prem%20showing%20as%20Office%20365%20mailbox.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1100764%22%20slang%3D%22en-US%22%3ERe%3A%20Migrated%20Mailbox%20Able%20to%20Send%20but%20not%20Receive%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1100764%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F431307%22%20target%3D%22_blank%22%3E%40CloudHal%3C%2FA%3Ethanks%20for%20taking%20the%20time%20to%20respond.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20forgot%20I%20had%20this%20thread%20open%2C%20but%20I%20have%20managed%20to%20resolve%20the%20issue.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20was%20getting%20a%20connection%20refused%20error%20when%20trying%20to%20validate%20the%20connectors%20even%20when%20I%20had%20whitelisted%20all%20of%20the%20IPs%20from%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foffice365%2Fenterprise%2Furls-and-ip-address-ranges%23exchange-online%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ethe%20list%20of%20Office%20365%20IPs.%3C%2FA%3E%3C%2FP%3E%3CP%3E(Note%3A%20I%20was%20unable%20to%20add%20the%20hostnames%20to%20our%20firewall%20as%20I%20was%20told%20it%20doesn't%20support%20it%20and%2For%20wildcards.)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20the%20end%2C%20we%20opened%20up%20ports%2025%20and%20443%20to%20all%20IP%20ranges%2C%20and%20it%20worked.%3C%2FP%3E%3CP%3ENot%20ideal%20but%20at%20least%20it%20is%20working%20for%20the%20time%20being%2C%20so%20I%20guess%20I%20just%20have%20to%20get%20this%20migration%20done%20quickly!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20again.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Hello,

 

We have recently setup a full hybrid exchange environment using Microsoft's Hybrid Exchange tool.

 

I've created a test mailbox, setup some calendar items, sent and received some email before I migrated it.

After migrating it, everything is still there (calendar, emails etc), and the mailbox can send emails, however any emails sent to this mailbox are not received.

After a few hours, the sending mailbox will receive a postmaster email saying that "Delivery is delayed".

 

One idea I had that I thought might be the issue is the send connector on EOP.

Delivery is currently set to "MX record associated with recipient domain".

The MX record is currently set to Mimecast which then only redirects to EOP (no other transport rules).

Should this not be set to forward to Office 365? Would we need to configure the "Route mail through smart hosts settings"?

 

Any help would be much appreciated.

4 Replies
Highlighted

@nitvit610 your Hybid configuration has not been done correctly in this case. You should leave mail coming to EOP for the time being (until most users are migrated, I would typically switch at around the half way mark at which point you tell Mimecast to send email to Office 365 and not on-prem).

Email is obviously not being sent from on-prem to Exchange online which means that there is an issue with your send connectors, I would review the connector configuration to see what the issue is. The Hybid configuration wizard should have created new connectors: new and existing Send and Receive connectors in the on-premises organization and Inbound and Outbound connectors in Exchange Online (see https://docs.microsoft.com/en-us/exchange/hybrid-configuration-wizard). So check if they are there.

Highlighted

@CloudHalyou are indeed correct that the Hybrid Configuration Wizard has created the send and receive connectors in both Office 365 and EOP.

 

I am not too sure how they should be setup. Initially I chose the "Configure my Client Access and Mailbox servers for secure mail transport (typical)" option, however there is another option for "Configure my Edge Transport servers for secure mail transport"

clipboard_image_0.png

 

Should I be using the second option to have mail flow through EOP?

 

On the second page it has me choose EOP to host receive connectors for secure mail transport, and I picked the only option available:

clipboard_image_1.png

 

Everything else goes through fine and it doesn't show any sign of error, however the mailbox is still unable to receive.

 

Looping back to my original point, might it have anything to do with the send connector in EOP (Outbound to Office 365 rule)?

clipboard_image_2.png

The MX record is set to Mimecast, which then directs to EOP, however if it's trying to use the send connector, won't it just create an infinite loop of sending to itself?

Would I need to set a smart hosts to Office 365 instead?

 

Thanks again!

Highlighted
Hi there, you need an understanding of how mail routing between on-prem users, and migrated online users works. It doesn't create a mail loop because it uses an internal routing domain which is @yourtenant.mail.onmicrosoft.com. This is explained here https://docs.microsoft.com/en-us/exchange/transport-routing in the section called Route incoming Internet messages through your on-premises organization.

So the outbound connector to O365 is limited to this domain, and your migrated user should have a TargetAddress @yourtenant.mail.onmicrosoft.com. So if you send an email to this user, Exchange knows the user has been migrated due to the target address, and sends the email through the O365 send connector. I would look at your migrated user to see if they have been migrated correctly, if so the targetaddress attribute will be set. You should also see them in the ECP on-prem showing as Office 365 mailbox.
Highlighted

@CloudHalthanks for taking the time to respond.

 

I forgot I had this thread open, but I have managed to resolve the issue.

 

I was getting a connection refused error when trying to validate the connectors even when I had whitelisted all of the IPs from the list of Office 365 IPs.

(Note: I was unable to add the hostnames to our firewall as I was told it doesn't support it and/or wildcards.)

 

In the end, we opened up ports 25 and 443 to all IP ranges, and it worked.

Not ideal but at least it is working for the time being, so I guess I just have to get this migration done quickly!

 

Thanks again.