Cisco Cisco Email Security Appliance C650 Guía Del Usuario
9-59
AsyncOS 9.1.2 for Cisco Email Security Appliances User Guide
Chapter 9 Using Message Filters to Enforce Email Policies
Message Filter Actions
The following filter first notifies
george@whitehouse.gov
and then discards any message where the
subject begins with
SPAM
.
Bounce Action
The
bounce
action sends the message back to the sender (Envelope Sender) without further processing.
The following filter returns (bounces) any message from an email address that ends in
@yahoo\\.com
.
Encrypt Action
The encrypt action uses the configured encryption profile to deliver encrypted messages to email
recipients.
recipients.
The following filter encrypts messages if they contain the term [encrypt] in the subject:
Note
You must have a Cisco Encryption Appliance in your network or a hosted key service configured to use
this filter action. You must also have configured an encryption profile to use this filter action.
this filter action. You must also have configured an encryption profile to use this filter action.
spamFilter:
if(subject == '^SPAM.*')
{
notify('george@whitehouse.gov');
drop();
}
yahooFilter:
if(mail-from == '@yahoo\\.com$')
{
bounce();
}
Encrypt_Filter:
if ( subject == '\\[encrypt\\]' )
{
encrypt('My_Encryption_Profile');
}