CommuniGate Pro

Kaspersky AntiVirus Plugin for CommuniGate Pro

Note: The Kaspersky AntiVirus Plugin is available only for some platforms supported with the CommuniGate Pro server software. Before you order the KAV Plugin License, make sure that the available versions of the Plugin software run on your CommuniGate Pro Server platform.

Note: The Kaspersky AntiVirus Plugin requires CommuniGatePro version 5.3.15 or later.


Download the KAV Plugins

Kaspersky AntiVirus Plugins are available for certain platforms only.


Operating System CPU Download
via
http
via
ftp
Linux
(RedHat, SuSE, Debian)
x86
x86_64
FreeBSD 9.x x86
x86_64
Microsoft Windows
NT/2000/2003/XP/Vista/7
x86

The current version of the Plugin is 1.6


Installing on a Unix System

Note: The following libraries are required for correct operation of the Kaspersky Plugin on Linux platform.
Library Name
libdl.so.2
libpthread.so.0
libstdc++.so.6
libm.so.6
libgcc_s.so.1
libc.so.6
ld-linux.so.2
linux-gate.so.1
Note: The following libraries are required for correct operation of the Kaspersky Plugin on FreeBSD 7 platform.
Library Name
libstdc++.so.6
libm.so.5
libgcc_s.so.1
libthr.so.3
libc.so.7


Installing on a MS Windows System


Updating the antivirus Plugin.

When updating the Kaspersky Plugin to a newer version, do the following steps:

Note:To maintain the maximum virus protection you have to update to a newer version of the Plugin as soon as it is become available. By running an old versions you put yourself at risk because old versions may be unable to catch new virus types.


Testing the antivirus Plugin.

On Unix and MacOS X System:

On a Windows System:


Integrating the antivirus Plugin with CommuniGate Pro.

Please check the VirusScan section of the CommuniGate Pro manual.

Open the General page in the Settings section of the WebAdmin Interface and click the Helpers link. Create the Helper as follows:

Content Filtering
Log Level: Program Path:
Time-out: Auto-Restart:

Note: For Windows the Program Path should be CGPKAV\CGPKAV.exe or "C:\CommuniGate Files\CGPKAV\CGPKAV.exe"

The recommended Scanning Rule is as follows:

Data Operation Parameter
Action Parameter

Note: It's not recommended to scan small messages (less than 2K) because they are unlikely to contain viruses.

Note: If you run the unlicensed version of the Plugin you're limited to one message per hour. Therefore you must not scan all messages because this will just block the mail flow. If you want to see how the Plugin catches viruses, then in the Scanning Rule you should specify more conditions in order to apply the ExternalFilter action only to messages from certain sender (from you) and with certain subject.


Updating the virus definitions database.

On Unix and MacOS X Systems:

On Windows System:

To automate launching of the above scripts on Unix and MacOSX systems you can use cron daemon, see more info in 'man cron' and 'man 5 crontab' output.
The recommended crontab entry is as follows:

#minute hour       mday    month   wday    who     command
0       3,9,15,21  *       *       *       mail    /var/CommuniGate/CGPKAV/update.sh
#launch the update at 3am,9am,3pm,9pm every day


Configuring the Plugin.

On startup the KAV Plugin reads the contents of the CGPKAV.cfg file from the current directory. The format of the file data elements is described in http://www.communigate.com/CommuniGatePro/Data.html. The description of the data elements you may find in the CGPKAV.cfg file. The default CGPKAV.cfg is available here.

It is safe to view and edit the CGPKAV.cfg file while the Plugin is running. After you have made changes to the CGPKAV.cfg, you should do one of the following:


Evaluating the required license type.

The Kaspersky Plugin License limits the number of uninfected messages the Plugin can scan within any 60 minute period of time. If the e-mail traffic exceeds the limit, the Plugin suspends the CommuniGate Pro Queue processing, enforcing the License limits. The infected messages are not counted towards the limit, thus virus outbreaks do not put your mail flow at risk. Without the license you are limited to 1 non-virus message per hour.

The Kaspersky Plugin is licensed for a 12 month period. If you choose to provide uninterrupted virus protection for your users, you should re-purchase the Plugin License once a year.

To evaluate the required license type:

#!/usr/bin/perl
$|=1;
my $count=0;

while(<STDIN>) {
  chomp;
  @line = split(" ");
  if ($line[1] eq "FILE") { $count++; }
  print $line[0] . " OK " . $count . " messages scanned.\n";
}

CommuniGate® Pro Guide. Copyright © 1998-2014, Stalker Software, Inc.