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:
true, KSMG email messages are saved in the /var/opt/kaspersky/ksmg/tmp/ksmg_filter directory.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:
If the /etc/postfix/master.cf Postfix configuration file has been modified, integration with the Postfix mail server may not be supported.
If Postfix is not in the list of available mail servers for integration, but is installed on the server, you need to return the /etc/postfix/master.cf configuration file to its unedited state and re-run the initial configuration script.
You will be able to edit the Postfix configuration file after completing the initial configuration.
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:
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=