How to install Vexira AntiVirus for Mail server manually
---------------------------------------------------------

Installing Vexira Antivirus for Mail servers manually is a two step
process. First you will need to install the core antivirus scanning
technology then intergrate the Vexira antivirus into you email system.
These instructions below cover the first step.

You must have a operational email server prior to starting this
installation process. Vexira Antivirus for Mail server cannot be
installed until the email server is operational. 

You can bypass these instruction if you use vainstall.pl script
located within the archive (Linux only). If you have a license.key see
Step 7 to register in COMMERCIAL mode.

Example:

./vainstall.pl

Step 1.) Login as "root" and then create the directory /usr/lib/Vexira
         and copy the file vexira.vdf to this directory. Please note
         the case of the word "Vexira". Change also user and group to
         uucp:

Example:
        
    mkdir /usr/lib/Vexira
    cp vdf/vexira.vdf /usr/lib/Vexira
    chown uucp:uucp /usr/lib/Vexira
    chown uucp:uucp /usr/lib/Vexira/vexira.vdf

Step 2.) Copy the scan engine vexira to /usr/lib/Vexira. Change the
         user and group of to uucp:

Example:

    cp bin/vexira /usr/lib/Vexira
    chown uucp:uucp /usr/lib/Vexira/vexira  

Step 3.) Copy the files vamailarmor.conf and vamailarmor.acl to /etc
         and edit them after reading the man pages and the comments.
         Normally, you only have to edit vamailarmor.acl (see MANUAL).

Example:

    cp etc/vamailarmor.conf /etc
    cp etc/vamailarmor.acl /etc
    cp etc/vexira.conf /etc

Step 4.) Copy the files vagated and vagatefwd to /usr/sbin:

Example:

    cp bin/vagated /usr/sbin
    cp bin/vagatefwd /usr/sbin

Step 5.) Create the spool directory for the email messages (default:
         /var/spool/vamailarmor) This directory must be accessible
         only by uucp or the user you selected in the
         /etc/vamailarmor.conf file.

Example:

    mkdir /var/spool/vamailarmor
    chown uucp:uucp /var/spool/vamailarmor
    chmod 700 /var/spool/vamailarmor
    cd /var/spool/vamailarmor
    mkdir incoming
    mkdir outgoing
    mkdir rejected
    chown uucp:uucp *
    chmod -R 700 *

Step 6.) Make sure the directory /var/run is readable and writeable by
         the user uucp (or the user you specified in
         /etc/vamailarmor.conf.) On SuSE it's already owned by uucp,
         so there is nothing to do. On other distributions the
         directory /var/run may be owned by root:root.

         You can 
         
         * change the group of /var/run to uucp (this is recommended)
                
         chgrp uucp /var/run

         * let vagated and vagatefwd run as root (not recommended)

         * change the PidFile entries in /etc/vamailarmor.conf so that
           they point to some other location where uucp has write
           access (not recommended).
    
Step 7.) If you have a license.key file to enable COMMERCIAL MODE:
         Please copy this file to /usr/lib/Vexira/license.key

Example:

    cp license.key /usr/lib/Vexira/license.key
    chown uucp:uucp /usr/lib/Vexira/license.key
 

Step 8.) Add automatic updating of Vexira Antivirus virus databases
         and virus scanning engine. Edit the file /etc/crontab and add
         the following line if you would like to make an update every
         day on 0:25:

Example:

    25 0 * * * root /usr/lib/Vexira/vexira --update -q
        
    If you using a proxy server please define the server and the port
    of the proxy in the file /etc/vexira.conf.

    Test the update settings by running /usr/lib/Vexira/vexira
    --update

Step 9.) Step one is now complete. The core Vexira Antivirus virus
         scanner is now setup. Read and follow the instructions given
         in the specified INSTALL file for specific intergration into
         your email server:

   INSTALL.sendmail
   INSTALL.postfix
   INSTALL.qmail
   INSTALL.exim

