Cisco Cisco Email Security Appliance C170 Guia Do Utilizador

Página de 1181
 
9-111
User Guide for AsyncOS 9.8 for Cisco Email Security Appliances
 
Chapter 9      Using Message Filters to Enforce Email Policies
  Message Filter Examples
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
Using Virtual Gateways Filter
Segment traffic using virtual gateways. Assuming you have two Interfaces on the system, 'public1' and 
'public2', and the default delivery interface is 'public1'. This would force all of your outbound traffic over 
the second interface; since bounces and other similar types of mail do not go through filters, they will 
be delivered from public1:
  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 ();
}
virtual_gateways:
if (recv-listener == "OutboundMail") {
    alt-src-host ("public2");
}