diff options
author | Yalla-One <yallaone@gmail.com> | 2010-05-13 00:39:54 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:39:54 +0200 |
commit | 8b9fb0d47dbe3761753a21493b737829a96bd146 (patch) | |
tree | 231be308f496929a9d0265572199c4e80670da96 /system/clamav/README | |
parent | 08a7ad2bc91317a6627d5de166a66fe99a152d66 (diff) | |
download | slackbuilds-8b9fb0d47dbe3761753a21493b737829a96bd146.tar.gz |
system/clamav: Updated for version 0.95.2
Diffstat (limited to 'system/clamav/README')
-rw-r--r-- | system/clamav/README | 47 |
1 files changed, 1 insertions, 46 deletions
diff --git a/system/clamav/README b/system/clamav/README index 67a4f9c5a9..22f1a5c71f 100644 --- a/system/clamav/README +++ b/system/clamav/README @@ -10,49 +10,4 @@ argument to the COUNTRY variable when running the build script (this will default to "us" if nothing is specified). For example: COUNTRY=nl ./clamav.SlackBuild -The package contains a start/stop script: /etc/rc.d/rc.clamav. -I would suggest calling this script from /etc/rc.d/rc.M just -before Sendmail is started with code like: - -# Starting ClamAV daemons -if [ -x /etc/rc.d/rc.clamav ]; then - /etc/rc.d/rc.clamav start -fi - -The start/stop script will start: clamd, freshclam and clamav-milter. - -** ClamAV, Amavisd-new and SpamAssassin ** -You might want to use amavisd-new to act as an intermediary between Sendmail -and ClamAV (and possible SpamAssassin too). Amavisd-new can be downloaded at -http://www.ijs.si/software/amavisd/ - -For clamd to be able to scan messages, when called by Amavisd-new, you must -add "clamav" to the "amavis" group (provided that clamd.conf contains the -"User clamav" directive), e.g. run: - - # usermod -G $(id -Gn clamav | tr ' ' ','),amavis clamav - -Be sure to enable "AllowSupplementaryGroups" in clamd.conf and restart clamd. -Also, to enable Amavisd-new to scan ClamAV's log files and produce nice -statistics, the reverse must be done too; add user "amavis" to the group -"clamav" as follows: - - # usermod -G $(id -Gn amavis | tr ' ' ','),clamav amavis - -Add the rc.amavisd script to your /etc/rc.d/rc.M script between the start of -clamav and sendmail, so that the relevant section looks like this: - -# Starting ClamAV daemon: -if [ -x /etc/rc.d/rc.clamav ]; then - /etc/rc.d/rc.clamav start -fi - -# Starting Amavisd daemon: -if [ -x /etc/rc.d/rc.amavisd ]; then - /etc/rc.d/rc.amavisd start -fi - -# Start the sendmail daemon: -if [ -x /etc/rc.d/rc.sendmail ]; then - . /etc/rc.d/rc.sendmail start -fi +See README.SLACKWARE for configuration help. |