Cisco Cisco Email Security Appliance C680 User Guide

Page of 400
 
6-98
Cisco IronPort AsyncOS 7.6 for Email Advanced Configuration Guide
OL-25137-01
Chapter 6      Using Message Filters to Enforce Email Policies
BCC and Scan Mail Sent to Competitors
This filter scans and blind copies messages that are sent to competitors. Note that you could use a 
dictionary and the header-dictionary-match() rule to specify a more flexible list of competitors (see 
Block Specific User Filter
Use this filter to block email from a specific address:
Archive and Drop Messages Filter
Log and drop only the messages that have matching filetypes:
Large “To:” Header Filter
Find messages with very large “To” headers. 
competitorFilter:
if (rcpt-to == '@competitor1.com|@competitor2.com') {
    bcc-scan('legal@example.com');
}
block_harrasing_user:
if (mail-from == "ex-employee@hotmail\\.com") {
    notify ("admin@company.com");
    drop ();
drop_attachments: 
if (mail-from != "user@example.com") AND (attachment-filename ==
'(?i)\\.(asp|bas|bat|cmd|cpl|exe|hta|ins|isp|js)$')
{
  archive("Drop_Attachments");
  insert-header("X-Filter", "Dropped by: $FilterName MID: $MID"); 
drop-attachments-by-name("\\.(asp|bas|bat|cmd|cpl|exe|hta|ins|isp|js)$");
}