+ Post New Thread
Results 1 to 8 of 8
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 ...
  1. #1
    phughes's Avatar
    Join Date
    Oct 2007
    Location
    Burnley
    Posts
    77
    Thank Post
    11
    Thanked 4 Times in 2 Posts
    Rep Power
    14

    Exchange 2010 Transport Rule (block zip files)

    Hi Guys,

    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 "")
    • ".zip"
    • 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.

    Any ideas?

    Thanks,
    Pete
    Last edited by phughes; 29th April 2014 at 02:22 PM.

  2. #2

    Join Date
    Feb 2012
    Location
    United Kingdom
    Posts
    7
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    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.

  3. #3
    phughes's Avatar
    Join Date
    Oct 2007
    Location
    Burnley
    Posts
    77
    Thank Post
    11
    Thanked 4 Times in 2 Posts
    Rep Power
    14
    Get-AttachmentFilterListConfig is not a recognised as the name of a cmdlet

    Add-AttachmentFilterEntry is not recognised as the name of a cmdlet

    ?

  4. Thanks to phughes from:

    Oaktech (29th April 2014)

  5. #4

    Oaktech's Avatar
    Join Date
    Jul 2011
    Location
    Bournemouth
    Posts
    2,807
    Thank Post
    774
    Thanked 547 Times in 427 Posts
    Rep Power
    260
    I've done this to stop the kids distributing flash games... When I remember what I did i'll post it!

  6. #5
    phughes's Avatar
    Join Date
    Oct 2007
    Location
    Burnley
    Posts
    77
    Thank Post
    11
    Thanked 4 Times in 2 Posts
    Rep Power
    14
    Quote Originally Posted by Oaktech View Post
    When I remember what I did i'll post it!
    Thanks

  7. #6

    Join Date
    Feb 2012
    Location
    United Kingdom
    Posts
    7
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Is that when run on the Exchange 2010 Edge Transport server?

  8. #7


    Join Date
    Feb 2007
    Location
    51.403651, -0.515458
    Posts
    8,897
    Thank Post
    226
    Thanked 2,674 Times in 1,971 Posts
    Rep Power
    786
    Quote Originally Posted by phughes View Post
    when an attachment's content matches text patterns
    Shouldn't it be the name of the attachment? e.g.

    Code:
    New-TransportRule -Name 'Block all .zip attachments' -Priority '0' -Enabled $true -AttachmentNameMatchesPatterns ' *.zip' -DeleteMessage $true

  9. 2 Thanks to Arthur:

    Oaktech (30th April 2014), phughes (30th April 2014)

  10. #8
    phughes's Avatar
    Join Date
    Oct 2007
    Location
    Burnley
    Posts
    77
    Thank Post
    11
    Thanked 4 Times in 2 Posts
    Rep Power
    14
    That worked beautifully. There is no attachment name when you use EMC, so I didn't even know that was an option.

    Thanks all

SHARE:
+ Post New Thread

Similar Threads

  1. Exchange 2010 Transport Rule based on incoming email subject
    By HMCTech in forum Enterprise Software
    Replies: 0
    Last Post: 16th May 2012, 02:43 PM
  2. Replies: 3
    Last Post: 21st March 2012, 12:10 PM
  3. Replies: 2
    Last Post: 5th January 2012, 10:57 AM
  4. Replies: 1
    Last Post: 12th December 2011, 05:21 PM
  5. Exchange and outlook have blocked mdb files
    By timbo343 in forum Windows
    Replies: 11
    Last Post: 8th December 2006, 08:34 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •