Home

Rule using wildcard (or domain) for handling incoming emails

%3CLINGO-SUB%20id%3D%22lingo-sub-128425%22%20slang%3D%22en-US%22%3ERule%20using%20wildcard%20(or%20domain)%20for%20handling%20incoming%20emails%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-128425%22%20slang%3D%22en-US%22%3E%3CP%3EIn%20line%20with%20the%20email%20security%20best%20practices%20recommended%20at%20Ignite%20this%20year%2C%20we%20are%20blocking%20our%20staff%20from%20using%20auto-forwarding%20rules%20in%20Outlook%2FExchange%20Online.%3C%2FP%3E%3CP%3EHowever%20there%20are%20valid%20scenarios%20where%20they%20need%20to%20know%20certain%20urgent%20emails%20have%20been%20delivered.%3C%2FP%3E%3CP%3EWe%20have%20many%20staff%20working%20for%20clients%20or%20partner%20companies%20in%20sensitive%20industries%20where%20they%20are%20not%20permitted%20to%20access%20Office%20365%20(or%20indeed%20any%20webmail%20service)%20while%20at%20work.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20I%20want%20them%20to%20be%20able%20to%20do%20on%20their%20Office%20365%20email%2C%20account%20is%20something%20like%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIF%20sender%20%3D%20*%40importantclient.com%20THEN%20send%20notification%20to%20myemail%40importantclient.com%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThere%20are%20variations%20(perhaps%20include%20the%20subject%20line%20or%20from%20address%20in%20the%20notification%2C%20butt%20not%20the%20content)%2C%20but%20that%20is%20the%20general%20idea.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20can%20do%20it%20for%20fixed%20email%20addresses%20such%20as%20knownaccount%40importantclient.com%2C%20but%20can't%20find%20any%20way%20for%20end%20users%20to%20do%20this%20for%20domains%20(%40importantclient.com%20or%20*%40importantclient.com)%20or%20other%20wildcards%20(from%3Amanagersname%40*).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20tried%20in%20Outlook%20and%20Flow%2C%20but%20can't%20seem%20to%20make%20it%20work.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20know%20it%20is%20possible%20with%20a%20Transport%20Rule%2C%20but%20I%20don't%20feel%20inclined%20to%20give%20my%20end%20user%20enough%20access%20to%20create%20these%2C%20for%20some%20strange%20reason..%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20this%20doable%20in%20O365%20in%20any%20way%20(Outlook%2C%20Exchange%2C%20Flow%2C%20anything)%20in%20a%20way%20that%20normal%20(non-technical)%20users%20are%20likely%20to%20be%20able%20to%20handle%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBob.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-128425%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3E2016%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOutlook%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-288168%22%20slang%3D%22en-US%22%3ERe%3A%20Rule%20using%20wildcard%20(or%20domain)%20for%20handling%20incoming%20emails%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-288168%22%20slang%3D%22en-US%22%3E%3CP%3EDear%20Vasil%2C%3C%2FP%3E%3CP%3EAppreciated%20your%20efforts%20but%20I%20found%20one%20more%20links%20its%20more%20specific%20and%20proper%20details.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.extendoffice.com%2Fdocuments%2Foutlook%2F1991-outlook-move-email-from-domain-to-folder.html%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.extendoffice.com%2Fdocuments%2Foutlook%2F1991-outlook-move-email-from-domain-to-folder.html%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-128764%22%20slang%3D%22en-US%22%3ERe%3A%20Rule%20using%20wildcard%20(or%20domain)%20for%20handling%20incoming%20emails%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-128764%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20can%20create%20a%20per-domain%20Outlook%20rule%2C%20if%20that's%20what%20you%20mean.%20Here's%20example%20article%3A%20%3CA%20href%3D%22https%3A%2F%2Fwww.slipstick.com%2Foutlook%2Frules%2Fcreate-rules-that-apply-to-an-entire-domain%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.slipstick.com%2Foutlook%2Frules%2Fcreate-rules-that-apply-to-an-entire-domain%2F%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20cannot%20however%20create%20a%20rule%20that%20dynamically%20captures%20the%20domain%20part%20and%20uses%20it%20for%20the%20notification%20address.%20For%20that%20you%20will%20need%20some%20macro%20or%20other%20code%20solution.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-431658%22%20slang%3D%22en-US%22%3ERe%3A%20Rule%20using%20wildcard%20(or%20domain)%20for%20handling%20incoming%20emails%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-431658%22%20slang%3D%22en-US%22%3EThis%20is%20gr8%20stuff%2C%20man.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1025974%22%20slang%3D%22en-US%22%3ERe%3A%20Rule%20using%20wildcard%20(or%20domain)%20for%20handling%20incoming%20emails%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1025974%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F37681%22%20target%3D%22_blank%22%3E%40robert%20grahame%3C%2FA%3E%26nbsp%3B%20Hmm%2C%20don't%20have%20much%20faith%20in%20your%20users.%26nbsp%3B%20Anyway%2C%20I'm%20looking%20for%20the%20correct%20wildcard%20in%20rules%20to%20check%20ANY%20incoming%20e-mail%20and%20then%20follow%20the%20rule.%26nbsp%3B%20Per%20domain%20basis%20is%20too%20cumbersome.%3C%2FP%3E%3C%2FLINGO-BODY%3E
robert grahame
Occasional Contributor

In line with the email security best practices recommended at Ignite this year, we are blocking our staff from using auto-forwarding rules in Outlook/Exchange Online.

However there are valid scenarios where they need to know certain urgent emails have been delivered.

We have many staff working for clients or partner companies in sensitive industries where they are not permitted to access Office 365 (or indeed any webmail service) while at work.

 

What I want them to be able to do on their Office 365 email, account is something like:

 

IF sender = *@importantclient.com THEN send notification to myemail@importantclient.com

 

There are variations (perhaps include the subject line or from address in the notification, butt not the content), but that is the general idea.

 

I can do it for fixed email addresses such as knownaccount@importantclient.com, but can't find any way for end users to do this for domains (@importantclient.com or *@importantclient.com) or other wildcards (from:managersname@*).

 

I've tried in Outlook and Flow, but can't seem to make it work.

 

I know it is possible with a Transport Rule, but I don't feel inclined to give my end user enough access to create these, for some strange reason..

 

Is this doable in O365 in any way (Outlook, Exchange, Flow, anything) in a way that normal (non-technical) users are likely to be able to handle?

 

Thanks,

 

Bob.

 

4 Replies

You can create a per-domain Outlook rule, if that's what you mean. Here's example article: https://www.slipstick.com/outlook/rules/create-rules-that-apply-to-an-entire-domain/

 

You cannot however create a rule that dynamically captures the domain part and uses it for the notification address. For that you will need some macro or other code solution.

Dear Vasil,

Appreciated your efforts but I found one more links its more specific and proper details.

 

 

https://www.extendoffice.com/documents/outlook/1991-outlook-move-email-from-domain-to-folder.html

This is gr8 stuff, man.

@robert grahame  Hmm, don't have much faith in your users.  Anyway, I'm looking for the correct wildcard in rules to check ANY incoming e-mail and then follow the rule.  Per domain basis is too cumbersome.

Related Conversations