Integrating with a Postfix mail server

August 21, 2023

ID 58248

To integrate Kaspersky Security 8 for Linux Mail Server with Postfix:

  1. Select the type of integration with the Postfix mail server:
    • If you want to perform before-queue integration of Kaspersky Security 8 for Linux Mail Server with Postfix, enter the number 1.
    • If you want to perform after-queue integration of Kaspersky Security 8 for Linux Mail Server with Postfix, enter the number 2.
    • If you want to perform integration of Kaspersky Security 8 for Linux Mail Server with Postfix over the Milter protocol, enter the number 3.

    The default option is 3.

  2. Press ENTER.
  3. Specify the IP address and port number or UNIX socket that the smtp_proxy filter will use to listen for messages from the mail server as follows: inet:<port>@<IP address> (for network sockets) or unix:<path to UNIX socket> (for UNIX sockets).
    • If you selected 1 at Step 1, the UNIX socket unix is proposed by default.
    • If you selected 2 at step 2, only the network socket in inet:<port>@<IP address> format is available. The network socket inet:10025@127.0.0.1 is proposed by default.
    • If you selected 3 at Step 1 of the wizard, the UNIX socket unix:/var/run/klms/klms_milter_sock is proposed by default.
  4. Press ENTER.
  5. If you entered 2 at Step 1, specify the port number to which the message will be forwarded after being scanned.

    The default option is 10026.

  6. Press ENTER.
  7. If you entered 3 at Step 1, select the action that the Postfix mail server must take on the message in case of filter errors:
    • If you want Postfix to accept the message without scanning, enter 2 to select the accept option.
    • If you want Postfix to reject the message, enter 1 to select the reject option.
    • If you want Postfix to notify the mail sender of the temporary inability to accept the message, enter 3 to select the tempfail option.

    The default option is tempfail.

  8. Press ENTER.

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.