Mailscanner quick install notes

2002-11-22

This describes the steps necessary to install mailscanner on
Red Hat 8.0.  This can be done by running the install.sh
script from the mailscanner distribution (preferred), or if
discrete separate packages are provided then the following
applies.


Service profile


pkg:		mailscanner

dependencies:	sendmail (and others indicated below)
		a supported anti-virus program

ports:		25

service:	MailScanner

daemons:	/usr/sbin/sendmail (two instances)
		/usr/sbin/MailScanner

configuration:	/etc/MailScanner/MailScanner.conf

notes:		The instance of sendmail which receives
		incoming mail queues it to /var/spool/mqueue.in.
		MailScanner uses /var/spool/MailScanner/incoming




Install sequence

1. Install a supported anti-virus package.

2. Install mailscanner package, by running the "./install.sh" script
   contained in the distribution directory.

3. Adapt configuration to suit AV package.  Edit /etc/MailScanner/
   MailScanner.conf and set the "Virus Scanners =" line to correspond
   with the installed AV package(s), eg

     Virus Scanners = f-secure clamav

4. Adapt the AV wrapper to suit. If you have not installed the AV package
   in its default location, you may need to edit the file
   /etc/MailScanner/virus.scanners.conf to set the installation
   directory you used for your virus scanner.

5. Stop any old versions of MailScanner.

6. Stop and disable your original sendmail setup. To do this,

    service sendmail stop
    chkconfig sendmail off
    chkconfig --level 2345 sendmail off

7. Enable and start your new MailScanner setup. To do this,

    chkconfig MailScanner on
    chkconfig --level 2345 MailScanner on
    service MailScanner start
