Kaspersky Secure Mail Gateway

Configuring basic MTA settings

July 10, 2024

ID 100477

To modify the basic settings of MTA:

  1. In the application web interface window, select the SettingsBuilt-in MTABasic Settings section.
  2. In the Domain name text box, enter the domain name of KSMG (mydomain) that all cluster nodes will share.
  3. Select the name that cluster nodes will use as the host name (myhostname):
    • If you want each node to use its own fully qualified domain name that was assigned to it during deployment, select Use FQDN of cluster nodes.
    • If you want all cluster nodes to use a common name, select Use specified hostname, and in the text box, enter the fully qualified domain name of the KSMG.
  4. In the Message size limit (bytes) field, specify the maximum size of an email message including SMTP headers that can be forwarded through KSMG (message_size_limit), in bytes.

    Specify 0 if no limit is required.

    The default value is 20971520 bytes (20 MB).

  5. Create a list of trusted networks and network hosts that are allowed to send email messages via KSMG (mynetworks). To do so, enter the host IP addresses and/or network addresses in CIDR format in the Trusted networks field and press ENTER.

    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.

    You can type addresses one by one or paste a whole list of semicolon-separated networks.

    If trusted networks are not specified, KSMG does not receive messages from internal mail servers and relay them outside your corporate network.

  6. Under Email destination address, select how KSMG must relay email messages:
    • If you want to use your DNS server settings for email routing, select Send directly.
    • If you want to send messages through an edge gateway, select Send through an edge gateway.
  7. If at the previous step you selected the edge gateway option:
    1. Enter the address and port of your edge gateway (relayhost). KSMG relays all messages to this address.

      You can enter an IPv4 address (for example: 192.168.0.1), an IPv6 address (for example: 2607:f0d0:1002:51::4), domain name or FQDN.

      If you have configured email routing for individual domains, KSMG relays email messages to the addresses specified for each domain.

    2. If you specified a domain name, you can enable MX record lookup for it. To do so, select the Use MX lookup check box.
  8. Click Save.

Basic MTA settings are configured.

See also

Configuring MTA settings

Configuring advanced MTA settings

Enhancing the security of the SMTP connection

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.