Skip to content.

UPR HPCf

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

ClamAntiVirus

last edited 2 years ago by humberto

Configuration for running clam + qmail-scanner in our mail server.

Clam on mail is compiled from source rpms on DAG repo:

 # wget -c http://dag.wieers.com/rpm/packages/clamav/clamav-0.90.1-4.rf.src.rpm

 # rpm -ivh clamav-0.90.1-4.rf.src.rpm
 # rpmbuild -bb /usr/src/redhat/SPECS/clamav.spec 
 error: Failed build dependencies:
        sendmail-devel >= 8.12 is needed by clamav-0.90.1-4.rf.i386

Sendmail isn't installed!

Start in boot freshclam and clamd

vi /etc/rc.local
Add lines: 
/usr/local/bin/freshclam -d -c 6 -l /var/log/clamav/clam-update.log
/usr/local/sbin/clamd/clamd

Re-install qmail-scanner

./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

-- Jose R. Ortiz Ubarri - 4/12/04

Quarantined mail is put into /var/spool/qmailscan/quarantine/new

Look at the headers to see if it's on mail or mgw1 (usually mgw1).

Each file is an email message, you can grep them for sender, recipient, date, msgid, etc.

Humberto.Ortiz - 2007/04/03

 

Powered by Plone

This site conforms to the following standards: