Cisco Cisco Email Security Appliance C160 Références techniques

Page de 316
D I C T I O N A R Y C O N F I G
C H A P T E R   3 :   T H E   C O M M A N D S :   R E F E R E N C E   E X A M P L E S
 177
Importing Dictionaries
In the example below, using the 
dictionaryconfig
 command, 84 terms in the 
profanity.txt
 text file are imported as Unicode (UTF-8) into a dictionary named 
profanity
.
- NEW - Create new entries in this dictionary.
- IMPORT - Replace all of the words in this dictionary.
- EXPORT - Export the words in this dictionary.
- DELETE - Remove an entry in this dictionary.
- PRINT - List the entries in this dictionary.
- SETTINGS - Change settings for this dictionary.
[]>
Currently configured content dictionaries:
1. secret_words
Choose the operation you want to perform:
- NEW - Create a new content dictionary.
- EDIT - Modify a content dictionary.
- DELETE - Remove a content dictionary.
- RENAME - Change the name of a content dictionary.
[]>
mail3.example.com> commit
Please enter some comments describing your changes:
[]> Added new dictionary: secret_words
Changes committed: Thu Feb 03 13:00:19 2005 PST
mail3.example.com>
Code Example 3-118 
dictionaryconfig
 - Importing Dictionaries 
mail3.example.com> dictionaryconfig
No content dictionaries have been defined.
Choose the operation you want to perform:
- NEW - Create a new content dictionary.
[]> new
Enter a name for this content dictionary.
[]> profanity
Do you wish to specify a file for import?  [N]> y
Code Example 3-117 
dictionaryconfig
 - Creating a Dictionary 2  (Continued)