Showing results for 
Search instead for 
Did you mean: 
Level 8
Report Inappropriate Content
Message 1 of 3

Email Gateway Block based in uncompressed file


I have the following question, is it possible to block a email based on a file inside a compressed file (zip, rar) attached to the email? how?

for example the email has attached the file "" and inside this zip there is a file called "virus#"$"#$#".exe" can i block based on the uncompressed file for example with a regular expression (virus*.exe)? or other method.


2 Replies
Former Member
Not applicable
Report Inappropriate Content
Message 2 of 3

Re: Email Gateway Block based in uncompressed file

The MEG's scans the contents of compress files automatically, to block emails with .exe you would want to sent up a file filtering rule under compliance.

-Find File Filtering under compliance

-Click add rule, Create name

-Check Enable File Category Filtering

-Under Category Filtering choose Windows Executable and make sure Other Specific Windows Executables is checked.

-Click ok

-Under If Trigger pick your action

-Then save. 

That's a pretty basic way of blocking or quarantining .exe

Level 11
Report Inappropriate Content
Message 3 of 3

Re: Email Gateway Block based in uncompressed file

The one catch to this answer is that if you have a rule which explicitly allows ZIPs through, you need to check the box for that rule which tells the MEG to continue scanning.  If you do not, the MEG will encounter the zip, decide that it's allowed, and then not scan any further to see if there's anything that's not allowed.

More McAfee Tools to Help You
  • Subscription Service Notification (SNS)
  • How-to: Endpoint Removal Tool
  • Support: Endpoint Security
  • eSupport: Policy Orchestrator
  • Community Help Hub

      New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

    • Find Forum FAQs
    • Learn How to Earn Badges
    • Ask for Help
    Go to Community Help

    Join the Community

      Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

    • Get helpful solutions from McAfee experts.
    • Stay connected to product conversations that matter to you.
    • Participate in product groups led by McAfee employees.
    Join the Community
    Join the Community