Use the CLI commands in this topic to configure the settings of the quarantine.
Go to CLI configuration mode.
hostname > enable hostname # configure terminal
Specify the maximum size of the quarantine in gigabytes.
hostname (config) # email-analysis quarantine size <limit>
Note
The upper limit is 250 GB. The default size is 20 GB.
Enable the option to automatically remove the emails from the quarantine.
hostname (config) # email-analysis quarantine cleanup enable
Specify the number of days to keep the emails in the quarantine before they are automatically removed.
hostname (config) # email-analysis quarantine cleanup keep <numberDays>
Note
The default value is 30 days.
Enable the option to send the usage notification email about the quarantine to an administrator.
hostname (config) # email-analysis quarantine notice enable
Specify the upper percentage of space used in the quarantine, above which a notification is sent out.
hostname (config) # email-analysis quarantine notice high-water <limit>
Note
The default upper percentage is 90.
Specify the lower percentage of space used in the quarantine, below which a notification is sent out.
hostname (config) # email-analysis quarantine notice low-water <limit>
Note
The default lower percentage is 60.
Verify the configuration settings for the quarantine.
hostname (config) # show email-analysis
Save your changes.
hostname (config) # write memory
Go to CLI configuration mode.
hostname > enable hostname # configure terminal
Disable the option to automatically remove the emails from the quarantine.
hostname (config) # no email-analysis quarantine cleanup enable
Disable the option to send the usage notification email about the quarantine to an administrator.
hostname (config) # no email-analysis quarantine notice enable
Verify the configuration settings for the quarantine.
hostname (config) # show email-analysis
Save your changes.
hostname (config) # write memory
Example
This example shows how to configure the quarantine settings. The Email-Analysis Quarantine section of the show email-analysis command output displays the quarantine settings.
hostname (config) # email-analysis quarantine size 40 hostname (config) # email-analysis quarantine cleanup enable hostname (config) # email-analysis quarantine cleanup keep 30 hostname (config) # email-analysis quarantine notice enable hostname (config) # email-analysis quarantine notice high-water 90 hostname (config) # email-analysis quarantine notice low-water 60 hostname (config) # show email-analysis ... Email-Analysis Quarantine: size: 40 cleanup enable: yes cleanup keep: 30 high-water threshold: 90 low-water threshold: 60 Domain(s): domain: mydomain1.com next hop mta: 172.17.74.10 MX Enable: false TLS mode: none ...