Cisco Cisco Email Security Appliance C370 Riferimenti tecnici

Pagina di 319
 
3-11
Cisco AsyncOS 9.5 for Email CLI Reference Guide
 
Chapter 3      The Commands: Reference Examples
  Anti-Spam
Batch Format - Import
Batch Format
Replaces all entries in the End-User Safelist/Blocklist with entries present in the specified file.
filename
 - Name of the file that has to be imported. The file must be in the 
/configuration
 
directory on the appliance.
ignore invalid entries
 - Whether to ignore invalid entries or not. Either 'Yes' or 'No.'
Batch Format - Export
Exports all entries in the End-User Safelist/Blocklist to a file the appliance.
The appliance saves a .CSV file to the 
/configuration
 directory using the following naming 
convention:
slbl<timestamp><serial number>.csv
.
Example - Importing Safelist/Blocklist Entries
mail.example.com> slblconfig
End-User Safelist/Blocklist: Enabled
Choose the operation you want to perform:
- IMPORT - Replace all entries in the End-User Safelist/Blocklist.
- EXPORT - Export all entries from the End-User Safelist/Blocklist.
[]> import
Currently available End-User Safelist/Blocklist files:
1. slbl.csv
Choose the file to import from.
[1]> 1
Do you want to ignore invalid entries? [Y]> Y
End-User Safelist/Blocklist import has been initiated...
Please wait while this operation executes.
End-User Safelist/Blocklist successfully imported.
Choose the operation you want to perform:
- IMPORT - Replace all entries in the End-User Safelist/Blocklist.
- EXPORT - Export all entries from the End-User Safelist/Blocklist.
[]> 
slblconfig import <filename> <ignore invalid entries>
slblconfig export