INSTALLATION instructions ------------------------- This is a short/brief document on HOWTO install amavis-0.2.2.tar.gz in combination with sendmail or qmail. Make sure you have the following items standby, as amavis needs quite a lot of third party helper software packages, which are mainly unzippers and unarchivers. - amavis-0.2.2.tar.gz The amavis integrated AntiVirus email scanner. - vlnx416l.tar.Z McAfee's command-line AV scanner uvscan ( http://www.ens2m.fr/ensmm/transfert/vlnx416l.tar.z ) If you run a fairly new linux system like redhat 9, mandrake 9.1 or suse 8.2 install /usr/lib/libstdc++.so.2.8.0 from redhat 7.3 onto your linux system. A bunch of helper zip and archiver packages : - lha-1.14d-3.src.rpm Japanese LHA archiver - mpack-1.5.orig.tar.gz mpack MIME base 64 packer/unpacker - tnef-0.16.tar.gz TNEF a data/file format structure used by Microsoft Outlook. - zoo-2.10-3.i386.rpm The Zoo archiver utility, which has also recover options for damaged archives virus-scan-utils.tar.gz which consist of the following components : - freeze-2.5.0.tar.gz Freeze / Melt Compression Program - unrar-2.50.tar.gz unpacker of RAR archives - xbinunix.c BinHex format file unpacker for MAC stuff - bzip2-095d-x86-linux20 bzip, skip this one, should already be installed on your system - arc521.tar.Z the ARC archiver/unarchiver - zoo-2.10-3.src.rpm The Zoo archiver utility, which has also recover options for damaged archives - procmail-3.22-5mdk Even though sendmail has mostly procmail installed, qmail might not when a pristine Linux installation has postfix as default MTA If you run on redhat 7.3 i386 you should make sure the following 2 RPMS are installed also : -rw-r--r-- 1 root root 35916 Apr 16 18:11 lha-1.14i-4.i386.rpm -rw-r--r-- 1 root root 16025 Apr 16 18:11 unarj-2.43-10.i386.rpm installation : 1. install all of the above archiver/compress utils 2. install vlnx416l.tar.Z : # cd /tmp # mkdir mcafee # cd mcafee # tar xvZf /root/antivirus/vlnx416l.tar.Z # ./install-uvscan enter y to all questions, except the last when being asked to scan directory's. 3. install amavis 0.2.2 : # cd /usr/src/ # tar xvzf /root/antivirus/amavis-0.2.2.tar.gz # cd amavis-0.2.2 # ./configure --with-notifysender=no --with-notifyreceiver=no # make # make install 4. edit sendmail.cf (for qmail-1.03 see the README.qmail in the source distribution of amavis-0.2.2.tar.gz ): open /etc/sendmail.cf or even /etc/mail/sendmail.cf in your favorate editor, preferrably vi or vim. Locate inside the sendmail.cf the entry for Mlocal. here is what this looks like (on redhat 7.3) : Mlocal, P=/usr/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, S=EnvFromL/HdrFromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix, A=procmail -t -Y -a $h -d $u Now copy these 3 lines and comment the original ones out. Change procmail into scanmails like this : #Mlocal, P=/usr/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, S=EnvFromL/HdrFromL, R=EnvToL/HdrToL, # T=DNS/RFC822/X-Unix, # A=procmail -t -Y -a $h -d $u Mlocal, P=/usr/sbin/scanmails, F=lsDFMAw5:/|@qSPfhn9, S=EnvFromL/HdrFromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix, A=scanmails -t -Y -a $h -d $u 5. restart your sendmail, and send some virus emails. This should be it! Sat Jul 3 00:15:00 CEST 2004 Mon Feb 22 20:53:56 CET 2016 --------------------------------- Robert M. Stockmann stock@stokkie.net http://crashrecovery.org/