summaryrefslogtreecommitdiffstats
path: root/clamav/build/00README.slackware
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2007-02-14 12:47:33 +0000
committer Eric Hameleers <alien@slackware.com>2007-02-14 12:47:33 +0000
commit090fcf4ee6fb5b92d019ded3e83660f70fea16cf (patch)
tree3af893ccedf0a2ca9c85ae3a3fe5646a61e2aaaa /clamav/build/00README.slackware
parent6397c0993baa54d36d719799c807850ee569e903 (diff)
downloadasb-090fcf4ee6fb5b92d019ded3e83660f70fea16cf.tar.gz
asb-090fcf4ee6fb5b92d019ded3e83660f70fea16cf.tar.xz
Initial revision
Diffstat (limited to 'clamav/build/00README.slackware')
-rw-r--r--clamav/build/00README.slackware56
1 files changed, 56 insertions, 0 deletions
diff --git a/clamav/build/00README.slackware b/clamav/build/00README.slackware
new file mode 100644
index 00000000..5c281304
--- /dev/null
+++ b/clamav/build/00README.slackware
@@ -0,0 +1,56 @@
+Although the package comes pre-configured you must edit /etc/clamd.conf
+and /etc/freshclam.conf to at least remove the "Example" option.
+
+The package contains an 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.
+
+A user and group "clamav" were added your system for ClamAV to use.
+
+To use clamav-milter your Sendmail will have to be compiled with
+milter support, like Slackware's Sendmail package does (as of V10.0).
+
+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, th 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 inbetween 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
+