Step 6. Selecting the type of integration with the mail server
July 3, 2024
ID 169362
You can perform automatic or manual before-queue integration of KSMG with Exim using a dynamically linked library (dlfunc) or Postfix.
The initial configuration script sets the working directory paths depending on the value of the PrivateTmp setting in the settings of the Exim systemd service:
- If PrivateTmp is set to
true
, KSMG email messages are saved in the /var/opt/kaspersky/ksmg/tmp/ksmg_filter directory. - If PrivateTmp is set to
false
or not specified, KSMG email messages are saved in the /tmp/ksmg_filter directory.
After integration is complete, modifying the value of the PrivateTmp setting is not allowed because this can disrupt the normal operation of the mail server.
To perform automatic integration of KSMG with the mail server:
- Enter the number specified next to the name of the relevant mail server.
- Press ENTER.
- If you selected Postfix, select the integration type. Possible values: SMTP proxy (before-queue), Milter (before-queue).
- If you want to confirm the selected mail server configuration, enter the number for 'yes'.
- If you want to edit mail server settings, enter the number for 'Change MTA'.
This takes you back to step 1 where you can select a different mail server or manual integration with Exim and specify your mail server configuration settings as necessary.
To select manual integration of KSMG with the mail server:
- Enter the number specified next to the option Manual integration.
- Press ENTER.
Subsequently you can perform manual integration with the Exim mail server.
During automatic integration, backup copies of Exim configuration files are created with names like *ksmg-install.backup. You can find the backup configuration files using the following command:find /etc/exim* -type f -name *ksmg-install.backup=