Step 7. Selecting the type of integration with the mail server

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:

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:

  1. Enter the number specified next to the name of the relevant mail server.
  2. Press Enter.
  3. If you selected Postfix, select the integration type. Possible values: SMTP proxy (before-queue), Milter (before-queue).

    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.

  4. If you want to confirm the selected mail server configuration, enter the number for 'yes'.
  5. 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:

  1. Enter the number specified next to the option Manual integration.
  2. 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=

Page top