In the application web interface window, select the Settings → General → Protection section.
Select the Content Filtering tab.
Enable or disable Content Filtering with the Use Content Filtering toggle switch.
By default, Content Filtering is disabled.
If at the previous step, you have enabled Content Filtering, configure the following:
In the Maximum scanning time (s) field, specify the maximum duration of content scan of a message in seconds.
Possible values: integers from 1 to 600. Default value: 30.
If the message cannot be scanned within the time limit you specified, Kaspersky Secure Mail Gateway:
Stops scanning the message (Skip action).
Assigns the Error status to the message.
Delivers the message to the recipient.
Adds a record to the /var/log/ksmg-messages event log.
In the Maximum scanned level of archives field, specify the maximum message nesting level down to which Content Filtering is performed.
Possible values: integers from 1 to 20000. Default value: 32.
If you set this field to a value other than 0, the application will scan archives only to the specified depth even if their nesting level is greater than the specified value. If no violations of restrictions configured in Content Filtering settings are found down to the specified depth, the application displays the scanning result as Not detected.