Cisco Cisco Email Security Appliance X1050 Guía Del Usuario
9-112
Cisco AsyncOS 9.0 for Email User Guide
Chapter 9 Using Message Filters to Enforce Email Policies
Message Filter Examples
•
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:
Same Listener for Deliver and Listener Filter
Use the same listener for delivery and receiving. This filter will allow you to send any messages received
on the public listener “listener1” out the interface “listener1” (you will have to set up a unique filter for
each public listener configured):
on the public listener “listener1” out the interface “listener1” (you will have to set up a unique filter for
each public listener configured):
Single Listener Filter
Make the filter work on a single listener. For example, specify a specific listener for message filter
processing instead of being performed system wide.
processing instead of being performed system wide.
virtual_gateways:
if (recv-listener == "OutboundMail") {
alt-src-host ("public2");
}
same_listener:
if (recv-inj == 'listener1') {
alt-src-host('listener1');
}
textfilter-new:
if (recv-inj == 'inbound' and body-contains("some spammy message")) {
alt-rcpt-to ("spam.quarantine@spam.example.com");
}