Start a conversation

Fixing Kerio Connect Antivirus Plugin Timeout Issues

Overview

Kerio Connect includes Kerio Antivirus, which provides integrated protection against malicious emails with viruses. At times, you might experience Timeout issues with the Antivirus (AV) plugin.

This article explains the common symptoms when the AV plugin is having TimeOut issues and how to fix it.

Note: It is recommended to upgrade Kerio Connect to the latest version before performing the steps outlined below.

 

Prerequisites

Access to Kerio Connect Webadmin and server-side


 

Symptoms

When Kerio Antivirus is having TimeOut issues, the following symptoms can be observed:

  1. Mailflow stops and all emails are stuck in the Message Queue with the following status:

    4.6.5 Antivirus check cannot be performed.

    001.png

  2. The AV engine does not start. Disabling and re-enabling it will produce this error:

    Engine Kerio Antivirus failed to start: Unable to initialize plugin, error: TimeOut for response has expired

    002.png

  3. Some emails are not scanned, especially with large attachments. An email notification will be received containing a message like below:

    Problem: Plugin is not responding in specified time.
    MIME type: application/pdf
    File name: JK_automatisering_Factuur_36626.pdf
    Antivirus: Kerio Antivirus engine version/Signature count: (AVCORE v2.1 Windows/x86_64 11.0.1.18 (Aug 9, 2017)/12597391)

 

Solution

Note: For Symptoms 1 and 2, please try first to restart the Kerio Connect engine. This usually fixes the issue.
  1. Stop the Kerio Connect engine and open the mailserver.cfg file. The default location of this file is:

    • Windows: C:\Program Files\Kerio\MailServer

    • Mac: /usr/local/kerio/mailserver

    • Linux: /opt/kerio/mailserver

  2. Look for the Antivir table and here you can find these variables:

    <variable name="ShortTimeout">60</variable>
    <variable name="LongTimeout">120</variable>

    003.png

  3. Double the variable values and save the file so it would look like this:

    <variable name="ShortTimeout">120</variable>
    <variable name="LongTimeout">240</variable>
    • A LongTimeout is used for antivirus checks, and it limits how long a single email scanning can take.
    • A ShortTimeout is a timeout for service operations like initialization or configuration updates.

  4. Save the file and start the Kerio Connect engine.


 

Confirmation

Antivirus now runs smoothly.


Back to Top

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted
  3. Updated

Comments