next up previous contents
Next: mod_clamav Up: Compatible software Previous: Compatible software   Contents

clamav-milter

Location: included in clamav package
Supports: clamd
clamav-milter by Nigel Horne is a very fast email scanner designed for sendmail. It's entirely written in C and uses ClamAV's internal mail scanner (also written by Nigel).
Installation:
You need libmilter development files. Configure ClamAV with
    $ ./configure --enable-milter
and recompile. The program will be installed in /usr/local/sbin/clamav-milter. The following instructions were adopted from Nigel's INSTALL file: add to /etc/mail/sendmail.mc:
INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clmilter.sock,
F=, T=S:4m;R:4m')dnl
define(`confINPUT_MAIL_FILTERS', `clmilter')
Check entries in clamav.conf of the form:
	LocalSocket /var/run/clamd.sock
	ScanMail
	SaveStreamToDisk
Start clamav-milter:
	/usr/local/sbin/clamav-milter -blo /var/run/clmilter.sock
and restart sendmail.



Tomasz Kojm 2003-06-21