Skip to content.

UPR HPCf

Sections
Personal tools
You are here: Home » Members » humberto's Home » Test ZWiki » VirusFightingTools
Views

VirusFightingTools

last edited 6 years ago by cheo

To protect you from the Windows viruses, worms, etc sent by email. We are using our mail server qmail + qmail-scanner + clamavis.

Clam Anti Virus is an free anti-virus toolkit for Unix. The main purpose of this software is
the integration with mail servers (attachment scanning). The package provides a flexible and
scalable multi-threaded daemon, a commandline scanner, and a tool for automatic updating via
Internet. The programs are based on a shared library distributed with the Clam AntiVirus?
package, which you can use in your own software.

Qmail Scanner may be found at: http://qmail.org
Clam Anti Virus may be found at: http://clamav.elektrapro.com/

Clamavis installation:

tar -xzvf clamavis-x.x.tar.gz
configure ;make; make install

Integrating clamavis+spamassassin+qmail-scanner to qmail

Untar the qmail-scanner package
./configure --archive yes --admin postmaster --log-details syslog --notify sender,admin,recips \
--add-dscr-hdrs all  --local-domains donatelo.hpcf.upr.edu,hpcf.upr.edu,ipv6.upr.edu,pratp.upr.edu \
--install

That should detect automaticly all the virus, and spam fighting tools installed in your mail
server(In our case: clamavis and spamassassin), create qmail-scanner-queue.pl, and then self
intall it.

Before going any further, you can test the installation by running:
./contrib/test_installation.sh

To integrate qmail-scanner to qmail edit the tcpserver control files for smtp to told qmail
that qmail-scanner.pl exists. In our case: /home/vpopmail/etc/tcp.smtp

Write the following in the tcp control file

# Use Qmail-Scanner without SpamAssassin on any mail from the local network
127.:allow, RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"
10.:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"
# Use Qmail-Scanner with SpamAssassin on any mail from the rest of the world
:allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"

-- Main Jose R. Ortiz Ubarri 24 Jul 2003

 

Powered by Plone

This site conforms to the following standards: