Matthew.van.Eerde wrote:
> jmorin wrote:
>> Also, I've tried using
>> clamav-milter and
>> mimedefang
>> in sendmail and sendmail would ONLY use clamd and NOT mimedefang.
>> Perhaps I mis-configured the sendmail.mc file ??
> 
> Very likely.  The instructions aren't particularly clear.

To wit, the clamav-milter installation instructions
        http://www.clamav.net/doc/0.87.1/html/node19.html
say to include these lines in sendmail.mc:

        INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock, 
F=, T=S:4m;R:4m')dnl
        define(`confINPUT_MAIL_FILTERS', `clmilter')

The second of these two lines will, in fact, tell sendmail to run ONLY the 
"clmilter" milter.

More info on INPUT_MAIL_FILTER and confINPUT_MAIL_FILTERS is available on 
sendmail.org:
http://www.sendmail.org/m4/adding_mailfilters.html#INPUT_MAIL_FILTER
http://www.sendmail.org/m4/tweaking_config.html#confINPUT_MAIL_FILTERS

-- 
Matthew.van.Eerde (at) hbinc.com               805.964.4554 x902
Hispanic Business Inc./HireDiversity.com       Software Engineer

_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to