ArticlesArticles Most Popular ArticlesMost Popular Articles
RSS Feeds
DrillDown Icon Table of Contents
DrillDown Icon 2017 Official Holidays & Support Schedule
DrillDown Icon IMPORTANT: End of Life of SHA1 on Windows Server 2003
DrillDown Icon IMPORTANT: Supported Operating Systems
DrillDown Icon PLEASE READ: Our Update Server IPs Have Changed
DrillDown Icon Support
DrillDown Icon modusGate for Microsoft Azure
DrillDown Icon modusCloud
DrillDown Icon Alleviating Spam – Best Practices
DrillDown Icon directQuarantine Technical Information
DrillDown Icon modusMail & modusGate Technical Information
DrillDown Icon Documentation & Release Information
DrillDown Icon Configuration Information
DrillDown Icon modusGate & modusMail
DrillDown Icon modusGate Only
DrillDown Icon modusMail Only
DrillDown Icon SQL Server Information
DrillDown Icon MySQL Information
DrillDown Icon Security
DrillDown Icon Sieve
DrillDown Icon How-to: Conditionally Encrypt Outbound Traffic
DrillDown Icon How-To: Block Outbound Filenames Going to the Outside World
DrillDown Icon How-To: Copy all Incoming/Outgoing Messages for a User
DrillDown Icon How-To: Write Simple Sieve Scripts
DrillDown Icon Spam and False-Positives
DrillDown Icon Statistics and Monitoring Section
DrillDown Icon Web Components
DrillDown Icon Troubleshooting
DrillDown Icon Hardware & OS System Requirements
DrillDown Icon Tools
DrillDown Icon Other Product Technical Information
DrillDown Icon Professional Services
DrillDown Icon Newsletters
  Email This ArticlePrint PreviewPrint Current Article/Category and All Sub-Articles/Categories
 
How-To: Block Outbound Filenames Going to the Outside World

 

Product: All

Version & Build: All

 

The following article uses examples to show how to block users from sending attachments containing sensitive information (e.g. financial information) to the outside world.  The script blocks attachments with certain names by flagging particular words.

 

Scenario:

  • Your domain is widget.com
  • The administrator wants to block attachments with the word customer in the filename only if it is outbound (not to the local widget.com domain)
  • The administrator also wants to block attachments with the word legal

 

Sieve Script:

Customer:

 

if not envelope :contains "to" "widget.com" {

if attachment :matches "*customer*" { discard; stop; }

}

 

Customer & Legal:

if not envelope :contains "to" "widget.com" {

if attachment :matches ["*customer*","*legal*"] { discard; stop; }

}

 

Modified 12/20/2006
Keywords: block outbound attachment
Article ID: 1331