Sophos Antivirus Plugin for CommuniGate Pro

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


Download the Sophos Plugins

Sophos antivirus plugins are available for certain platforms only.
Operating System CPU Download
via
http
via
ftp
Sun Solaris Sparc
Intel
Linux (RedHat 6.x/7.x, SuSE) Intel
PowerPC (LinuxPPC, YellowDog) call call
Alpha call call
Microsoft Windows NT/2000/2003/XP
Microsoft Windows 95/98/ME
Intel
FreeBSD 4.x Intel
SCO UnixWare Intel
IBM AIX PowerPC
HP/UX HPPA
Tru64 (Digital Unix) Alpha
IBM OS/2 Intel
MacOS X (Darwin) PowerPC

The current version of the Plugin is 1.8


Installing on a Unix System.

Instaling the Plugin Manually:


Installing on MacOS X System.


Installing on Windows System.

Updating the Windows Registry Manually:


Installing on IBM OS/2 System.

Note: if it fails to launch the Plugin you may need to copy DLL files from CGPSophos directory to CGPro Base directory.


Testing the antivirus Plugin.

On a Unix System:

On Windows and OS/2 Systems:


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
Use Filter:
Log: Program Path:
Time-out: Auto-Restart:
Note: For Windows and OS/2 systems the Program Path shold be CGPSophos\CGPSophos.exe

The recommended Scanning Rule is as follows:

DataOperationParameter
ActionParameters

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 on order to apply the ExternalFilter action only to messages from certain sender (from you) and with certain subject.


Updating the virus definitions database.

There are two type of updates: daily updates (*.IDE files) and monthly updates (vdl.dat file and several *.vdb files). The monthly update contains all virus definitions from previous months, so after updating the vdl.dat file you should delete and re-load the daily update files. You can get more information here.

Updating the virus definitions database manually:

On a Unix System:

On Windows and OS/2 Systems:

Updating the virus definitions database automatically:

You can download the latest update scripts from here:
Script CPU Download
via
http
via
ftp
monthlyUpdate.pl Any
dailyUpdate.pl Any

Note: The above scripts require some modules your Perl installation may have missing. So you may need to download and install the required Perl modules from www.cpan.org site.

To automate launching of the above scripts on Unix 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,15    *       *       *       root    /var/CommuniGate/CGPSophos/SophosUpdate.sh
0       2       *       *       1       root    /var/CommuniGate/CGPSophos/SophosUpdate.sh -m
#launch the daily update at 3am and 3pm every day
#launch the monthly update at 2am every Monday
The SophosUpdate.sh script is as follows:
#!/bin/sh
SOPHOS_PATH="/var/CommuniGate/CGPSophos"
MAILER_CMD="/usr/bin/mail -s 'Sophos Update Report'"
REPORT_ADR="postmaster"
( \
if [ "$1" = -m ]; then
 echo "Launching Sophos monthly update..."
 perl ${SOPHOS_PATH}/monthlyUpdate.pl 2>&1
fi
echo "Launching Sophos daily update..."
perl ${SOPHOS_PATH}/dailyUpdate.pl 2>&1
) | eval ${MAILER_CMD} ${REPORT_ADR}


Configuring the Plugin.

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

It is safe to view and edit the CGPSophos.cfg file while the Plugin is running. After you made a change to the CGPSophos.cfg, to make the Plugin to recognize the changes you can do one of the following:


Licensing

The Sophos Plugin requires a separate License. Without the license you are limited to 1 message per hour.


CommuniGate® Pro Guide. Copyright © 2002-2005, Stalker Software, Inc.