How to Install a Newer Version of CYREN (Commtouch) — Version 5.00.0084

This article describes how to install a newer version of the CYREN (Commtouch) filter. The new version performs both antivirus and anti-spam scanning.

Solution

The archives containing the kits of the new CYREN (Commtouch) version are available at the following links:

To be able to use the antivirus functionality, a new commtouch.afsl file which includes this functionality is available at the link: https://www.axigen.com/usr/files/support/cyren/commtouch.afsl

The steps below can be used to install the new version.

  1. Ensure that the CYREN (Commtouch) service is stopped.

  2. Download and extract the archive containing the new CYREN (Commtouch) kit and download the new commtouch.afsl file.

  3. Backup your current CYREN (Commtouch) installation
    1. on Linux:
      • create a backup directory, for example /root/ctasd/bk_ctasd
      • copy the following files and directory to the backup directory with the commands below:
        cd /root/ctasd/bk_ctasd cp -a /opt/axigen/lib/ctasd . cp -a /etc/opt/axigen/ctasd.conf . cp -a /opt/axigen/bin/ctasd.bin . cp -a /var/opt/axigen/filters/commtouch.afsl .

    2. on Windows:
      • create a backup directory, for example bk_ctasd somewhere on disk
      • copy the directory C:\Program Files\Axigen Mail Server\ctasd to the backup directory
      • copy the file C:\Program Files\Axigen Mail Server\filters\commtouch.afsl to the backup directory

        Note: the above paths assume that Axigen is installed in C:\Program Files\Axigen Mail Server, which is the default path for the Axigen working directory on Windows systems. If your installation uses a different path you will need to replace in the above paths C:\Program Files\Axigen Mail Server with the path to your Axigen working directory.


  4. Install the files of the new CYREN (Commtouch) version
    1. on Linux:
      • change the current working directory to the 'bin' subdirectory of the folder extracted from the new CYREN (Commtouch) kit archive, i.e.
        cd /root/ctasd/ctasd-5.00.0084-linux-x86_64/bin where ctasd-5.00.0084-linux-x86_64 is the folder extracted from the archive.
      • copy the new ctasd binary
        cp ctasd.bin /opt/axigen/bin/ctasd.bin cp: overwrite `/opt/axigen/bin/ctasd.bin'? y
      • delete the current ctasd libraries
        rm /opt/axigen/lib/ctasd/*
      • copy the new libraries
        cp libaivse000.so libasapsdk.so libjvse.so /opt/axigen/lib/ctasd/
      • copy the new ctasd.conf file

        Note: this step overwrites the previous configuration file. Make sure that you performed the backup described in step 3.

        cp ctasd.conf /etc/opt/axigen/ctasd.conf cp: overwrite `/etc/opt/axigen/ctasd.conf'? y
      • edit the new /etc/opt/axigen/ctasd.conf file and modify the following sections as described below:
        [Connectivity]
        License_key_code = your_Commtouch_license_key_code_here
        Server_address = resolver%d.axigen.ctmail.com

        Note: you will need to copy your CYREN (Commtouch) license key code from the old ctasd.conf file

        ...

        [Security]
        User=axigen
        Group=axigen

        ...

        [AV]

        # AVDefPath defines the local path where the virus Definitions File is saved and the path from which it is read.
        # The default value is the current directory.
        #AVDefPath

        AVDefPath=/var/opt/axigen/ctasd
      • create the directory /var/opt/axigen/ctasd/
        mkdir /var/opt/axigen/ctasd/
      • copy the AV definitions to the new directory:
        cp aivsecon-v2.def antivir-v2.def /var/opt/axigen/ctasd/
      • recursively set the ownership to the axigen system user on the new directory chown -R axigen:axigen /var/opt/axigen/ctasd/
      • rename the current commtouch.afsl file cd /var/opt/axigen/filters/ mv commtouch.afsl commtouch.afsl-renamed
      • copy the new commtouch.afsl to /var/opt/axigen/filters/
      • set the ownership of the file to the axigen system user
        chown axigen:axigen /var/opt/axigen/filters/commtouch.afsl
      • restart the Axigen service to load the new commtouch.afsl file

    2. on Windows:
      • open Windows Explorer and navigate to the 'bin' subdirectory of the folder extracted from the new CYREN (Commtouch) kit archive
      • copy the files from this directory to C:\Program Files\Axigen Mail Server\ctasd. Overwrite the existing ctasd.conf, ctasd.exe and asapsdk.dll files
      • edit the file C:\Program Files\Axigen Mail Server\ctasd\ctasd.conf using WordPad and modify the following section as described below:
        [Connectivity]
        License_key_code = your_Commtouch_license_key_code_here
        Server_address = resolver%d.axigen.ctmail.com

        Note: you will need to copy your CYREN (Commtouch) license key code from the old ctasd.conf file

      • rename the current commtouch.afsl file available at: C:\Program Files\Axigen Mail Server\filters\commtouch.afsl for example to commtouch.afsl-renamed and copy the new commtouch.afsl file to C:\Program Files\Axigen Mail Server\filters
      • restart the Axigen service to load the new commtouch.afsl file

  5. start the CYREN (Commtouch) service:
    1. on Linux:
      /etc/init.d/axigenfilters start

    2. on Windows:
      start the CYREN (Commtouch) service from the services.msc mmc and confirm that the service starts correctly
OS: LinuxWindows
Distros: WindowsDEB based distros amd64Windows x64RPM based distros x6432bit WindowsDEB based distros amd64