CommuniGate Pro

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.

Note: The Sophos Anti-Virus Plugin requires CommuniGatePro version 5.3.15 or later.


Download the Sophos Plugins

Sophos antivirus plugins are available for certain platforms only.
Operating System CPU Download
via
http
via
ftp
Sun Solaris x86
Sparc
Linux (RedHat, SuSE)
libc 7; glibc 2.2
x86
x86_64
Itanium
FreeBSD 6.2+ x86
x86_64
FreeBSD 7.0+ x86
x86_64
Microsoft Windows NT/2000/2003/XP
Microsoft Windows 95/98/ME
x86
IBM AIX PowerPC
Apple MacOS X (Darwin)
version 10.6.x and greater
UB(Intel+PowerPC)

The current version of the Plugin is 2.5

The previous versions are available:
Operating System CPU Download Note
via
http
via
ftp
FreeBSD 4.x/5.x x86 Call us for the new version
HP/UX HPPA Call us for the new version
SCO UnixWare x86 Call us for the new version
Tru64 (Digital Unix) Alpha Discontinued
Linux PowerPC (LinuxPPC, YellowDog) Discontinued
Alpha Discontinued
IBM OS/2 x86 Discontinued


Installing on a Unix System.


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
Log Level: Program Path:
Time-out: Auto-Restart:
Note: For Windows and OS/2 systems the Program Path shold be CGPSophos\CGPSophos.exe
Note: For FreeBSD systems you may need to specify the absolute path, i.e. /var/CommuniGate/CGPSophos/CGPSophos

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


Updating the virus definitions database and the scanning engine.

There are two type of virus definition 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.

Updating the virus definitions database manually:

On a Unix System:

On Windows and OS/2 Systems:

Updating the virus definitions database automatically:

Updating the Scanning Engine automatically:

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..."
 cd ${SOPHOS_PATH}
 ./monthlyUpdate 2>&1
 ./engineUpdate 2>&1
fi
echo "Launching Sophos daily update..."
  cd ${SOPHOS_PATH}
  ./dailyUpdate 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.communigate.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 © 1998-2012, Communigate Systems, Inc.