Before configuring Anti-Spam protection in the message processing rule, make sure that the Anti-Spam module is enabled in general protection settings.
To configure Anti-Spam protection in the message processing rule:
In the application web interface window, select the Rules section.
In the rule table, select the rule for which you want to configure Anti-Spam protection.
This opens the View rule window.
Click Edit.
Rule settings become editable.
In the left pane, select the Anti-Spam section.
Use the toggle switch to the right of the section title to enable or disable Anti-Spam scanning of messages that match rule criteria.
By default, Anti-Spam protection of messages is enabled.
If you have disabled Anti-Spam protection at the previous step, configure Anti-Spam module settings applied to the following objects based on the results of the scan:
In the If spam is detected group of settings, select one of the following actions to take on messages containing spam:
Delete message.
Reject.
Skip.
The Skip action is selected by default.
If you want to automatically place messages recognized as spam in Backup, select the Move message to Backup check box.
This check box is cleared by default.
If you want a tag to be automatically added after the scan to the beginning of the subject of messages that contain spam, type the text of the tag in the text box under the Move message to Backup check box.
In the If probable spam is detected group of settings, select one of the following actions to take on messages containing probable spam:
Delete message.
Reject.
Skip.
The Skip action is selected by default.
If you want to automatically place messages containing suspected spam in Backup based on the scan results, select the Move message to Backup check box.
This check box is cleared by default.
If you want a tag to be automatically added after the scan to the beginning of the subject of messages that contain probable spam, type the text of the tag in the text box under the Move message to Backup check box.
In the If mass mailing is detected group of settings, select one of the following actions to take on messages that constitute a mass mail campaign:
Delete message.
Reject.
Skip.
The Skip action is selected by default.
If you want to automatically place messages recognized as mass mail in Backup, select the Move message to Backup check box.
This check box is cleared by default.
If you want a tag to be automatically added after the scan to the beginning of the subject of messages that constitute a mass mail campaign, type the text of the tag in the text box under the Move message to Backup check box.
By default, the [MASSMAIL] tag is added.
In the settings group Additional settings, select check boxes next to the names of settings that you want to enable:
Use graphical image processing technologies if you want to use the GSG technology that identifies images containing text to analyze such text for being spam. The text is recognized regardless of whether it has been modified, rotated in the image, hidden in "noise" or otherwise modified to conceal the purpose of the image.
Unicode spoofing protection if you want to enable Unicode spoofing protection. If Unicode spoofing is detected, the message is considered to be spam. The application adds the unicode_spoof tag to the X-KSMG-AntiSpam-Method message header.
The application scans for Unicode spoofing only in the values of the MAIL FROM command from the SMTP session, as well as in the From, Sender, Reply-To message headers.
Click Save.
Anti-Spam protection is configured. The specified settings are applied to messages that match the rule criteria.
To ensure the configured settings are applied during the operation of Kaspersky Secure Mail Gateway, make sure to enable Anti-Spam protection for the rule and to enable the configured rule.