Cisco Cisco Email Security Appliance C170 Guia Do Utilizador

Página de 1140
 
9-100
Cisco AsyncOS 8.5.5 for Email Security User Guide
 
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:
   } 
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 ();
}