In the main window of the program web interface, open the management console tree and select the Rules section.
In the upper part of the workspace, click Create.
A new message processing rule opens.
In the left pane, select the General section.
In the Rule name field, type the name of the new rule.
The rule must have a unique name in the list of Kaspersky Secure Mail Gateway rules.
In the Description field, type the rule description.
In the Mode settings group, select one of the following message processing options corresponding to criteria of the rule:
Use the settings of scan modules to use the settings of Anti-Virus, Anti-Spam, and Anti-Phishing modules as well as Content Filtering settings.
The left pane displays sections where you can configure modules used by the rule.
Reject without scanning to reject messages without scanning them with Anti-Virus, Anti-Spam, or Anti-Phishing modules, or applying Content Filtering settings.
Delete without notifying the sender to delete messages without scanning them with Anti-Virus, Anti-Spam, or Anti-Phishing modules, or applying Content Filtering settings; do not notify the sender about non-delivery.
Skip without scanning to deliver messages without scanning them.
If you want to modify the priority of the rule, in the Rule priority settings group, set the position of the rule in the rule table.
By default, the rule is assigned the highest priority of all previously created rules.
In the Sender email settings group, specify senders to whom the rule must apply. To do this, select one of the following tabs:
In the text box, type the IP address of a message sender and press Enter.
IP addresses should be entered one at a time. Repeat the steps for all IP addresses that you want to add.
You can enter an IPv4 address (for example: 192.0.0.1), an IPv4 subnet address with a mask (for example: 192.0.0.0/16), an IPv6 address (for example: 2607:f0d0:1002:51::4), or IPv6 subnet address with a mask (for example: fc00::/7).
In the text box, specify an LDAP account and press Enter.
Type accounts one at a time. Repeat the steps for all accounts that you want to add.
To apply the rule, you must specify at least one recipient.
In the lower right corner, click Save.
The rule is created and added to the rule table in the Rules section.
For modified settings to be applied by Kaspersky Secure Mail Gateway, the rule must be enabled. By default, the new rule is disabled and not used during operation of the program.