Cisco Cisco Email Security Appliance C680 User Guide

Page of 1212
 
9-113
User Guide for AsyncOS 10.0 for Cisco Email Security Appliances
 
Chapter 9      Using Message Filters to Enforce Email Policies
  Message Filter Examples
Show SenderBase Reputation Score in Header Filter
Remember to log the headers (see the “Logging” chapter) so they appear in the mail log:
Insert Policy into Header Filter
Show which mail flow policy accepted the connection:
Too Many Recipients Bounce Filter
Bounce all outbound email messages with more than 50 recipients from more than two unique domains:
Routing and Domain Spoofing
   } 
Check_SBRS:
if (true) {
  insert-header('X-SBRS', '$Reputation'); 
}
Policy_Tracker:  
if (true) {
  insert-header ('X-HAT', 'Sender Group $Group, Policy $Policy applied.');
}
bounce_high_rcpt_count:
if ( (rcpt-count > 49) AND (rcpt-to != "@example\\.com$") ) { 
  bounce-profile ("too_many_rcpt_bounce"); bounce ();
}