How to integrate Kaspersky Secure Mail Gateway with a remote MTA through Milter

 

Kaspersky Secure Mail Gateway

 
 
 

How to integrate Kaspersky Secure Mail Gateway with a remote MTA through Milter

Back to "Settings"
Latest update: 2019 Aug 13 ID: 12298
 
 
 
 
The article concerns Kaspersky Secure Mail Gateway 1.1 Service Pack 1 Maintenance Release 2 (version 1.1.2.12).
 
 
 
 

To integrate Kaspersky Security Mail Gateway through the mail filter (Milter) with a remote mail server (MTA):

  1. Open the console of the Kaspersky Secure Mail Gateway virtual machine or connect to it via SSH.
  2. Go to Technical Support Mode. See this aticle for instructions.
  3. Open the file /var/opt/kaspersky/klms/installer.dat and add the following line:
START_MILTER=1
  1. Open the file /etc/opt/kaspersky/klms/klms_filters.conf
  2. Find the [milter] section and add the IP address of the network adapter and the port number of the MTA socket to the following line:
socket=<IPaddress and port number>

Example:

socket=inet:10025@127.0.0.1
  1. Open the file /etc/sysconfig/iptables
  2. Add the following lines to it:
-A input_defaults -i eth0 -p tcp --dport 10025 -j ACCEPT 
-A input_defaults -m state --state RELATED,ESTABLISHED -j ACCEPT
  1. Run the command:
service iptables restart

Kaspersky Secure Mail Gateway will be integrated with a remote MTA through Milter.

The service network restart command does not restart iptables.

 
 
 
 
Was this information helpful?
Yes No
Thank you
 
 
 

 
 

How can we improve this article?

Your feedback will be used for content improvement purposes only. If you need assistance, please contact technical support.

Submit Submit

Thank you for your feedback!

Your suggestions will help improve this article.

OK