$ ./configure --enable-milterand 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 StreamSaveToDiskStart clamav-milter:
/usr/local/sbin/clamav-milter -lo /var/run/clmilter.sockand restart sendmail.