Haven't had any problems though im still looking for other open source
and it works best using the openantivirus.org virus def but will need to
use the oav-update script (http://ww.anathoth.gen.nz/tarballs) not the
fleshclam cron script (http:/clamav.elektrapro.com)

Below is some of my scripts taken from Mr Bill's Toaster, of course

#INSTALL perl-suid
rpm -Uvh perl-suid

# INSTALL "Time::HiRes" for Qmail-Scanner
perl -MCPAN -e "install Time::HiRes

# TNEF
cd /var/src
tar -xzf tar/tnef-1.1.1.tar.gz
cd tnef-1.1.1
./configure
make
make check
make install

# UNZIP
unzip-5.50-2
rpm -Uvh unzip*.rpm

# SPAMASSASSIN
cd /var/src

        perl -MCPAN -e shell
        o conf prerequisites_policy ask
        install Mail::SpamAssassin
        quit
edit /etc/rc.d/init.d/spamassassin
daemon spamd -d -F 0 -L -x -u vpopmail

#clamav scanner
wget http://clamav.elektrapro.com/stable/clamav-0.22.tar.gz
cd /var/src
tar -zxvf clamav-0.22.tar.gz
cd clamav-0.22
groupadd clamav
useradd -g clamav -s /bin/false -c "Clam Antivirus" clamav
./configure
make
su -c "make install"

touch /var/log/clam-update.log
chmod 644 /var/log/clam-update.log
chown clamav /var/log/clam-update.log

#install default vir def updater, future use oav=update
freshclam -d -c 2 -l var/log/clam-update.log

0 8 * * * /usr/local/bin/freshclam --quiet -l /var/log/clam-update.log

# QMAIL-SCANNER
cd /var/src
tar -xzf tar/qmail-scanner-1.13.tgz
cd qmail-scanner-1.13
./configure
./configure --admin el --domain domain1.com --local-domains
domain1.com,domain2.com --install

vi /var/spool/qmailscan/quarantine-attachments.txt

#use when problem using rh73
#chown root /usr/bin/suidperl
#chmod 4711 /usr/bin/suidperl

#use when sqwebmail is installed
vi /usr/local/share/sqwebmail/sendit.sh
add two below
QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"
export QMAILQUEUE

-----Original Message-----
From: Bill Shupp [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, August 22, 2002 9:46 AM
To: [EMAIL PROTECTED]
Subject: Re: [toaster] couple of things...


On Wednesday, August 21, 2002, at 08:30  PM, EL wrote:

> Can we include spamassassin since its already supported by 
> qmail-scanner. And clamav or any other gpl virus scanner and its 
> already supported by qmail-scanner too. thanks

Sure... I had already planned on SA, with a small hack to quarantine 
mail over a certain "hit" threshold.  I haven't used clamav, though... 
does it work well?

Regards,

Bill Shupp


Reply via email to