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 6.0.11 or later.

Download the Sophos Plugins

Sophos antivirus plugins are available for certain platforms only.
Operating System CPU Download
Sun Solaris x86
Linux (RedHat, SuSE)
libc 7; glibc 2.2
FreeBSD 8 x86
Microsoft Windows NT/2000/2003/XP/7 x86
IBM AIX 5.3+ PowerPC
Apple MacOS X (Darwin)
version 10.6.x and greater

The current version of the Plugin is 2.6

Installing on a Unix System.

Installing on MacOS X System.

Installing on Windows System.

Testing the antivirus Plugin.

On a Unix System:

On 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 system 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 System:

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/
0       2       *       *       1       root    /var/CommuniGate/CGPSophos/ -m
#launch the daily update at 3am and 3pm every day
#launch the monthly update at 2am every Monday
The script is as follows:
MAILER_CMD="/usr/bin/mail -s 'Sophos Update Report'"
( \
if [ "$1" = -m ]; then
 echo "Launching Sophos monthly update..."
 ./monthlyUpdate 2>&1
 ./engineUpdate 2>&1
echo "Launching Sophos daily update..."
  ./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 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:


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

CommuniGate® Pro Guide. Copyright © 1998-2015, Communigate Systems, Inc.