On Thu, Apr 21, 2005 at 07:26:45AM +0800, Pete Sherwin S. Villanueva said: > i did add this line to my sendmail.mc and recompile it. > > INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clmilter.sock, F=, > T=S:4m;R:4m')dnl > define(`confINPUT_MAIL_FILTERS', `clmilter')
That's fine - the difference between INPUT_MAIL_FILTER and MAIL_FILTER is that INPUT_MAIL_FILTER also populates the define macro. It makes no difference if you use only one milter. It will if you use several. So, if you only use clamav-milter, you can use either INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clmilter.sock, F=,T=S:4m;R:4m')dnl or MAIL_FILTER(`clmilter',`S=local:/var/run/clmilter.sock, F=,T=S:4m;R:4m')dnl define(`confINPUT_MAIL_FILTERS', `clmilter') If you use several milters, you'll want either INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clmilter.sock, F=,T=S:4m;R:4m')dnl INPUT_MAIL_FILTER(`foo',`blah blah')dnl or MAIL_FILTER(`clmilter',`S=local:/var/run/clmilter.sock, F=,T=S:4m;R:4m')dnl MAIL_FILTER(`foo',`blah blah')dnl define(`confINPUT_MAIL_FILTERS', `clmilter, foo') This is all assuming my memory matches reality. Not always a realistic assumption :) -- -------------------------------------------------------------------------- | Stephen Gran | Your society will be sought by people | | [EMAIL PROTECTED] | of taste and refinement. | | http://www.lobefin.net/~steve | | --------------------------------------------------------------------------
pgpdCEOzcQRpe.pgp
Description: PGP signature
_______________________________________________ http://lurker.clamav.net/list/clamav-users.html
