Cisco Cisco Email Security Appliance C170 Guia Do Utilizador

Página de 1181
 
9-85
User Guide for AsyncOS 9.8 for Cisco Email Security Appliances
 
Chapter 9      Using Message Filters to Enforce Email Policies
  Attachment Scanning
Step 4
Under Conditions, click Add Condition.
Step 5
Under Attachment File Info, click Image Analysis Verdict.
Step 6
Choose from one of the following verdicts: 
Suspect
Inappropriate
Suspect or Inappropriate
Unscannable
Clean
Step 7
Click Add Action.
Step 8
Select an action to perform on messages based on the image analysis verdict.
Step 9
Submit and commit your changes.
Notifications
Using the Text Resources page in the GUI or the 
textconfig
 CLI command to configure custom 
notification templates as text resources is another useful tool when used in conjunction with attachment 
filtering rules. The notification template supports non-ASCII characters (you are prompted to choose an 
encoding while creating the template).
In the following example, the 
textconfig
 command was first used to create a notification template 
named 
strip.mp3
 that will be inserted into to the body of the notification message. Then, an attachment 
filtering rule is created so that when an .mp3 file has been stripped from a message, a notification email 
is sent to the intended recipients explaining that the .mp3 file has been deleted.
For more information, see 
.
Examples of Attachment Scanning Message Filters
The following examples shows actions performed on attachments:
drop-mp3s:
if (attachment-type == '*/mp3')
{ drop-attachments-by-filetype('Media');
  notify ('$EnvelopeRecipients', 'Your mp3 has been removed', '$EnvelopeFrom', 
'strip.mp3');