Forum Discussion
Creating rules in M365 that apply like Outlook rules
Hello guys, I am trying to accomplish something I never had to do with. I want to set up some kind of rules that apply to a certain user inbox just like I would use Outlook and set up rules for that inbox.
I have no clue how that would be possible, if it was even possible. I experimented with transport rules in Microsoft 365 Exchange, but it would not work. Maybe I just made a mistake there, I don't know.
The rule I set up contains:
Conditions:
Name: Test
Aplly this rule when: The recipient is this person: "E-Mail address of the person"
AND
Every attachment contains: "pdf"
Do as followed:
Inform recipient: "pre set message"
besides if: none
Settings:
Priority 0
Rule mode: forced
Severity: low
Stop processing further rules: yes
Compare sender address in message: header
If you need further information, just let me know.
3 Replies
- fairnetztCopper ContributorHello and thanks for the responses. I checked out the link you provided me Kidd_Ip but It did not really help me with my problem. Maybe I was not specific enough on my part.
The goal is to have a rule, that blocks incoming Mails without any attachment. Unfortunately I cannot find any logical operation that inverts my settings. The only attachment that should be allowed are PDF files.
The build-in settings only make it possible, to block mails containing all the other file types.
Do I have to work with spam filters or some other tool in M365 to make this possible? - theowenismCopper Contributor@fairnestzt
As I see you set "Stop processing further rules: yes", if there is other mail flow rules that also apply to this "person" in your setting (e.g. applying to all users) that stopped this rule from being processed? Please refer below article:
Use mail flow rules to inspect message attachments in Exchange Online | Microsoft Learn