Office Software Thread, Exchange 2010 Transport Rule (block zip files) in Technical; Hi Guys,
I'm trying to block zip files from coming into our exchange server. I've done a little research and ...
29th April 2014, 02:02 PM #1
Exchange 2010 Transport Rule (block zip files)
I'm trying to block zip files from coming into our exchange server. I've done a little research and found that this is achieved by using the Transport Rules.
I have created a rule with the following;
- Apply rule to messages
- when an attachment's content matches text patterns
- " *.zip" (without the "")
- Delete the message without notifying anyone
As far as i'm concerned, this looks correct. I then restart the transport service for good measure and then test it from an external source.
The email arrives to my mailbox with a it's zip attachment.
Last edited by phughes; 29th April 2014 at 02:22 PM.
29th April 2014, 02:34 PM #2
- Rep Power
You can also use the AttachmentFilter if you've not massively configured it already. Can you run "Get-AttachmentFilterListConfig" and post the result. Assuming it looks fine then use "Add-AttachmentFilterEntry -Name *.zip -Type FileName" to filter out .zip files.
29th April 2014, 02:56 PM #3
Get-AttachmentFilterListConfig is not a recognised as the name of a cmdlet
Add-AttachmentFilterEntry is not recognised as the name of a cmdlet
Thanks to phughes from:
Oaktech (29th April 2014)
29th April 2014, 03:01 PM #4
I've done this to stop the kids distributing flash games... When I remember what I did i'll post it!
29th April 2014, 03:32 PM #5
Originally Posted by Oaktech
29th April 2014, 09:23 PM #6
- Rep Power
Is that when run on the Exchange 2010 Edge Transport server?
29th April 2014, 10:40 PM #7
Shouldn't it be the name of the attachment? e.g.
Originally Posted by phughes
New-TransportRule -Name 'Block all .zip attachments' -Priority '0' -Enabled $true -AttachmentNameMatchesPatterns ' *.zip' -DeleteMessage $true
2 Thanks to Arthur:
Oaktech (30th April 2014), phughes (30th April 2014)
30th April 2014, 08:39 AM #8
That worked beautifully. There is no attachment name when you use EMC, so I didn't even know that was an option.
By HMCTech in forum Enterprise Software
Last Post: 16th May 2012, 02:43 PM
By burgemaster in forum Windows
Last Post: 21st March 2012, 12:10 PM
By ianh64 in forum Windows
Last Post: 5th January 2012, 10:57 AM
By sukh in forum Enterprise Software
Last Post: 12th December 2011, 05:21 PM
By timbo343 in forum Windows
Last Post: 8th December 2006, 08:34 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread