You can specify the period for keeping a message in Anti-Spam Quarantine and the maximum size of Anti-Spam Quarantine.
To configure Anti-Spam Quarantine settings:
# /opt/kaspersky/klms/bin/klms-control --get-settings AspQuarantine -n -f <
name of the settings file>
Specify the maximum size of Anti-Spam Quarantine in the <MaxQuarantineSize> section. The size is specified in bytes.
Specify the period of time for keeping messages in Anti-Spam Quarantine in the <MaxObjectTimeout> section. Time period is specified in seconds.# /opt/kaspersky/klms/bin/klms-control --set-settings AspQuarantine -n -f <
name of the settings file>