I want to thank all those ahead of me on this one who helped work on
the rpm updates and even provide for me direction
on getting the config files working in this update. I decided to make
things more complete by giving you the exact entries
that clamd and freshclam need to have within their config files. So
now you can just copy what I've posted here into your
config files and be up and running quickly.
enjoy!!
1. Upgrade clamav+havp+perl in "one line":
rpm -Uvh
http://www.stellarcore.net/downloads/efw2.1-updates/clamav-0.90.3-0.endian12.i386.rpm
http://www.stellarcore.net/downloads/efw2.1-updates/havp-0.86-2.endian8.i386.rpm
http://www.stellarcore.net/downloads/efw2.1-updates/perl-Mail-Clamav-0.20-0.endian0.i386.rpm
2. Edit the ClamAV and FreshClam .conf and .tmpl files
clamd.conf & clamd.conf.tmpl
LogFile /var/log/clamav/clamd.log
LogTime yes
LogSyslog yes
LogFacility LOG_LOCAL4
LogFileMaxSize 2M
TemporaryDirectory /tmp
LocalSocket /tmp/clamd
FixStaleSocket yes
TCPAddr 127.0.0.1
MaxThreads 10
SelfCheck 600
User clamav
ScanPE yes
DetectBrokenExecutables yes
ScanOLE2 yes
ScanMail yes
ScanHTML yes
ScanArchive yes
ArchiveMaxFileSize 15M
ArchiveMaxRecursion 10
ArchiveMaxFiles 0
ArchiveMaxCompressionRatio 300
PidFile /var/run/clamav/clamd.pid
ArchiveBlockMax no
ArchiveBlockEncrypted no
freshClam.conf & freshClam.conf.tmpl
LogSyslog yes
LogFacility LOG_LOCAL4
LogFileMaxSize 20M
PidFile /var/run/freshclam.pid
DatabaseOwner clamav
DNSDatabaseInfo current.cvd.clamav.net
DatabaseMirror db.local.clamav.net
DatabaseMirror database.clamav.net
MaxAttempts 5
Checks 24
NotifyClamd /etc/clamav/clamd.conf
OnUpdateExecute /bin/run-parts /etc/clamav/update.d/
3. chmod 666 /var/log/clamav/clamd.log <== This gives clamav user
rights to write to this file
3. Test out each of them by typing in clamd and freshclam at the
command prompt. this will tell you the errors that still exist.
4. Reboot and check your logs, mainly the clamav log
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Efw-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/efw-user