SOLVED

Exchange Online mail flow - forward emails with no mailbox to external receiver

%3CLINGO-SUB%20id%3D%22lingo-sub-191691%22%20slang%3D%22en-US%22%3EExchange%20Online%20mail%20flow%20-%20forward%20emails%20with%20no%20mailbox%20to%20external%20receiver%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-191691%22%20slang%3D%22en-US%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20a%20question.%20I%20would%20like%20to%20set%20my%20mx%20to%20point%20to%20Exchange%20Online.%3C%2FP%3E%3CP%3EBut%20I%20have%20a%20lot%20of%20email-addresses%20that%20do%20not%20have%20a%20mailbox%20in%20Exchange%20Online%20%2F%20Office%20365.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20it%20possible%20in%20Exchange%20Online%20to%20create%20a%20%22default%22%20email%20flow%20that%20says%20%22If%20there%20is%20no%20matching%20mailbox%20in%20Exchange%20Online%20%2F%20Office%20365%2C%20then%20forward%20the%20email%20to%20SMTP%20server%20xxxx%22%20%3F%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20so%20-%20any%20hint%20on%20how%20to%20do%20this%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBr.%20Rune%20Myrhaug%3C%2FP%3E%3CP%3EUninett%20AS%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-191691%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-191790%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Online%20mail%20flow%20-%20forward%20emails%20with%20no%20mailbox%20to%20external%20receiver%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-191790%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20have%20two%20options%20for%20that%20scenario.%20First%20one%20is%20leave%20the%20MX%20pointing%20to%20on-premises%20and%20configure%20the%20domain%20as%20%22internal%20relay%22%20in%20O365.%20That%20way%2C%20Exchange%20Online%20will%20check%20for%20the%20presence%20of%20specific%20email%20address%20against%20the%20ExO%20GAL%20and%20if%20no%20match%20is%20found%2C%20will%20route%20it%20to%20where%20the%20MX%20record%20points%20at.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAlternatively%2C%20you%20can%20create%20a%20connector%20to%20route%20messages%20sent%20to%20specific%20recipients%2C%20either%20on%20a%20(sub)domain%20basis%20or%20by%20using%20a%20Transport%20rule.%20Check%20the%20documentation%20here%3A%20%3CA%20href%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fdn751020(v%3Dexchg.150).aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fdn751020(v%3Dexchg.150).aspx%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

Hi

 

I have a question. I would like to set my mx to point to Exchange Online.

But I have a lot of email-addresses that do not have a mailbox in Exchange Online / Office 365.

 

Is it possible in Exchange Online to create a "default" email flow that says "If there is no matching mailbox in Exchange Online / Office 365, then forward the email to SMTP server xxxx" ??

 

If so - any hint on how to do this?

 

Br. Rune Myrhaug

Uninett AS

1 Reply
Best Response confirmed by Rune Myrhaug (Contributor)
Solution

You have two options for that scenario. First one is leave the MX pointing to on-premises and configure the domain as "internal relay" in O365. That way, Exchange Online will check for the presence of specific email address against the ExO GAL and if no match is found, will route it to where the MX record points at.

 

Alternatively, you can create a connector to route messages sent to specific recipients, either on a (sub)domain basis or by using a Transport rule. Check the documentation here: https://technet.microsoft.com/en-us/library/dn751020(v=exchg.150).aspx