Forum Discussion
Rule using wildcard (or domain) for handling incoming emails
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.
12 Replies
- IgorArnautCopper ContributorI really want this feature.
There is a guy named John Blue who claims that he recorded me and demands 950 BTC. He also has multiple email addresses with different domain name. Please implement wildcard blocking!!!- Victor_IvanidzeBronze Contributor
Hi IgorArnaut,
if John Blue always spam you using "John Blue" as a sender display name, use this freeware:
https://www.ivasoft.com/deleteitemsinjunkfolderflow.shtml
- waikeongCopper Contributor
Not sure if this is still applicable to you but i hope i can help anyone out there whose having the same issue as i am.
I've just discovered that you could use Regex to manipulate those dynamic information. For example, to exclude email addresses that consist "ups" from being attached with disclaimer when sending out, i added an except condition ("The sender address matches") with the value of \W*((?i)ups(?-i))\W*
You could use this http://regexstorm.net/tester to test your Regular Expression.
- ka2abrCopper Contributor
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.
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.
- AlexGuzCopper Contributor
VasilMichev In "Add a Condition" select "Sender address includes" and add the domain name ex "microsoft". No @ or * needed. Then in "Add an action" select "Forward to" and add the email address that you want the emails forwarded to.
Similarly, you can use "Subject includes" or "Subject or body includes" in Add a condition to catch additional emails related to that client
I normally create these two rules to send all emails related to specific vendors to pre-defined folders. Makes it easy to organize my inbox.
- AmitBloggerCopper Contributor
AlexGuz This video help me out https://youtu.be/vqqZ8X8ml7A
- Fahad GhafoorCopper Contributor
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
- Adam_SzulyCopper ContributorThis is gr8 stuff, man.