Cisco Cisco Email Security Appliance C170 Guia Do Utilizador

Página de 1094
 
18-7
Cisco AsyncOS 8.0.1 for Email User Guide
 
Chapter 18      Text Resources
  Understanding Text Resources
In this example, we send the message to the Policy quarantine:
Example Dictionary Entries
Testing Content Dictionaries
The 
trace
 function can provide quick feedback on message filters that use the 
dictionary-match()
 
 for more information. You can 
also use the 
quarantine()
 action to test filters, as in the 
quarantine_codenames
 filter example above.
Understanding Text Resources
Text resources are text templates that can be attached to messages or sent as messages. Text resources 
can be one of the following types:
Message disclaimers — Text that is added to messages. For more information, see 
Notification templates — Messages that are sent as notifications, used with the 
notify()
 and 
notify-bcc()
 actions. For more information, see 
Anti-virus Notification templates — Messages that are sent as notifications when a virus is found 
in a message. You can create a template for a container (which appends the original message), or as 
a notice that is sent without the appended message. For more information, see 
quarantine_codenames:  
   if (dictionary-match ('secret_words')) 
       {
       quarantine('Policy');
       }
Table 18-2
Example Dictionary Entries
Description
Example
Wildcard
*
Anchors
Ends with: foo
$
Begins with: 
^
foo
Email address
(Do not escape the period)
foo@example.com
@example.com
example.com$
 (ends with)
@example.*
Subject
An email subject
(keep in mind when using the 
^
 anchor in email subjects that 
subjects are often prepended with “RE:” or “FW:” and the like)