Forum Discussion
Deny email attachments for certain users in mail flow?
You can certainly create mail flow rules to reject messages containing attachments and addressed to certain recipients. There is no way to tie this to your internal subnet though, so you should base the rule on some other criteria (user's email addresses for example).
There is no mail flow rule action to "strip" attachments though, you will have to block the message delivery altogether.
- Dany McdonaldMar 13, 2018Copper Contributor
Hello Vasil,
Good news!
By subnet I meant a bunch of users... Any chances you could point me toward online info?
I did look for mail flow how to's but did not find.
Thank you for your time!
Dany
- VasilMichevMar 13, 2018MVP
The documentation on Mail flow rules is here: https://technet.microsoft.com/en-us/library/jj919238(v=exchg.150).aspx
In your case you can use the "recipient is" clause to scope the rule down to those users, and also include the "sender is external" clause. If you want to block any messages with attachments, simply use the "attachment size is greater than 1KB" or similar. More examples here: https://technet.microsoft.com/en-us/library/jj919236(v=exchg.150).aspx
- Dany McdonaldMar 13, 2018Copper Contributor
Thank you Vasil, it's appreciated.
Dany