In the main window of the application web interface, open the management console tree and select the Settings section and MTA subsection.
Open the Basic Settings section if it is not already open.
Click any link in the Basic Settings section to open the Basic MTA settings window.
If you want to change the domain name of Kaspersky Secure Mail Gateway (mydomain), enter the new domain name of the application server in the Domain name field.
If you want to change the fully qualified domain name of Kaspersky Secure Mail Gateway (myhostname), enter the new fully qualified domain name of the application server in the Hostname field.
In the Message size limit field, specify the maximum size of the email message received or forwarded through Kaspersky Secure Mail Gateway, including SMTP headers. Specify the maximum size in bytes.
Type 0 if restrictions are not required.
The default value is 20971520 bytes.
Create a list of trusted networks and network hosts that are allowed to send email messages via Kaspersky Secure Mail Gateway (mynetworks). As a rule, these are internal networks and network hosts of your organization. For example, you can specify the IP addresses of Microsoft Exchange servers used at your organization.
If trusted networks are not specified, Kaspersky Secure Mail Gateway will not be receiving messages from internal mail servers and redirect them outside the network of your organization.
Perform the following actions for each address that you want to add:
In the Trusted networks field, enter the network IP address or the subnet address.
Type IP addresses in IPv4 format or subnet addresses in CIDR format.
Click the Add button.
The network IP address or subnet address that you added will be displayed in the list of trusted networks and network hosts.
Addresses should be entered one at a time. Repeat the actions for adding IP addresses or subnet addresses to the list for all trusted networks and network hosts that you are adding.
In the Email destination address field, enter the address of your edge gateway (relayhost). Kaspersky Secure Mail Gateway will be redirecting all messages to this address.
You can enter an IPv4 address (for example, 192.0.0.1 or 192.0.0.0/16), domain name or FQDN.
If you have configured email routing for individual domains, Kaspersky Secure Mail Gateway will be redirecting email messages to the addresses specified for each domain.
In the MX record lookup list, select one of the following values:
Enabled, if you want to enable the search for MX records for domain names or FQDNs.
Disabled, if you want to disable MX record lookup.