Cisco Cisco Email Security Appliance C160 Mode D'Emploi

Page de 1181
 
9-61
User Guide for AsyncOS 9.8 for Cisco Email Security Appliances
 
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. 
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. 
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');
   }