I've just got the whole shebang running. I've made out the following file with the procedure in case I ever need to do it again! I use slackware and there are a few slack-specific steps. I'm sure you could modify them for RH. You'll need to read the docs as well - there are a few other steps involved. It may be that RH has milter support compiled into sendmail.
## COMPILE SENDMAIL WITH MILTER SUPPORT # Download entire slackware package into /root/sendmail # cd /root/sendmail # tar -zxvf sendmail-VERSION.tar.gz # Copy this file into sendmail-VERSION/devtools/Site/site.config.m4 APPENDDEF(`conf_sendmail_ENVDEF',`-DMILTER') APPENDDEF(`conf_libmilter_ENVDEF', `-D_FFR_MILTER_ROOT_UNSAFE ') # cd sendmail-VERSION/libmilter # ./Build # make install # cd /root/sendmail # tar zcvf sendmail-VERSION.tar.gz sendmail-VERSION/ # mv sendmail-VERSION.tar.gz sendmail.VERSION.tar.gz # rm sendmail-VERSION # rm /tmp/sendmail* -Rf # ./SlackBuild # cd /tmp # upgragepkg sendmail-OLDVERSION%sendmail-NEWVERSION # upgradepkg sendmail-cf-OLDVERSION%sendmail-cf-NEWVERSION # cp sendmail*.tgz /pub/slackware # add to sendmail.mc INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clmilter.sock,F=, T=S:4m;R:4m')dnl define(`confINPUT_MAIL_FILTERS', `clmilter') ## CLAM ANTIVIRUS # # Configuration: #./configure --sysconfdir=/etc --enable-milter #make #su checkinstall # Change ownerships #chown clamav /usr/local/share/clamav # # Done! Here is my clamav.conf - minus comments You need to fiddle a few permissions to get it to work. LogFile /var/log/clam/clamd.log PidFile /tmp/clamd.pid LocalSocket /tmp/clamd.sock MaxDirectoryRecursion 15 User clamav ScanMail StreamSaveToDisk ScanArchive ArchiveMaxFileSize 10M ArchiveMaxRecursion 5 ArchiveMaxFiles 1000 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
