next up previous contents
Next: Testing Up: Configuration Previous: On-access scanning   Contents

clamav-milter

Nigel Horne's clamav-milter is a very fast email scanner designed for Sendmail. It's written entirely in C and only depends on clamd. You can find detailed installation instructions in the INSTALL file that comes with the clamav-milter sources. Basically, to connect it with Sendmail add the following lines 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 entry in clamd.conf of the form:
	LocalSocket /var/run/clamd.sock
Start clamav-milter
	/usr/local/sbin/clamav-milter -lo /var/run/clmilter.sock
and restart sendmail.



Tomasz Kojm 2004-10-17