Cisco Cisco Email Security Appliance X1050 Guía Del Usuario
9-101
Cisco AsyncOS 8.0.2 for Email User Guide
Chapter 9 Using Message Filters to Enforce Email Policies
Message Filter Examples
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
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:
'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-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 ();
}
virtual_gateways:
if (recv-listener == "OutboundMail") {
alt-src-host ("public2");
}