Linuxpackages.net provides third-party precompiled packages for Slackware. You can find them with
this search query on that site.
Martijn Dekker ("McDutchie" on this wiki) provides packages there that provide complete and semi-automatic integration with
ClamAV's stock Sendmail package. This wiki page describes how to use them.
How to use
Download the package, and as root, install it like so (substituting the appropriate filename):
#
installpkg clamav-0.91.2-i486-1McD.tgz
To activate Sendmail integration, after installing the package, copy the ‘/usr/share/sendmail/sendmail-slackware-clamav.cf’ file into ‘/etc/mail/sendmail.cf’:
#
cp /usr/share/sendmail/sendmail-slackware-clamav.cf /etc/mail/sendmail.cf
Then start
ClamAV and restart Sendmail:
#
/etc/rc.d/rc.clamav start
#
/etc/rc.d/rc.sendmail restart
Building your own
You may wish to build your own package if I haven't uploaded one with the most recent version yet, if you use a pre-11.0 Slackware version (at the time of this writing, I build on 11.0, 12.0 and 12.1, and my binaries may not work on earlier versions), if you don't trust third-party binaries, or simply because you're a complete geek

. You can
download my easy-to-use Slackbuild script, from which the fully-integrated
ClamAV packages at Linuxpackages.net are generated.
This script can be used to build a
ClamAV package for Slackware 10.0 or higher with Sendmail installed (as Sendmail milter support was introduced as of 10.0). To choose a version of
ClamAV to build, you can ‘cd’ to the script's directory and invoke the script like so:
$
VERSION=1.23.4 ./clamav.SlackBuild
…substituting, of course, the appropriate
ClamAV version for ‘1.23.4’. Note: there is no need to be root to use this build script; it will ask for your root password after building the binaries and just before creating the package (and if you have
fakeroot installed, even that isn't necessary).
--
McDutchie - 06 Jan 2007, 22 Jan 2007, 30 Aug 2007, 19 Aug 2008
</center-->