I had this problem and traced it down to the fact that the default location where clamav puts its socket is wrong. After editing /usr/local/etc/clamav.conf so that LocalSocket looked like:
# Path to the local socket. The daemon doesn't change the mode of the # created file (portability reasons). You may want to create it in a directory # which is only accessible for a user running daemon. LocalSocket /var/run/clamav/clamd.sock And the permissions on that directory are sorted (eg. clamav:clamav) it all worked out. Additionally, the logfile holds a wealth of info about what is going on. Hope this helps, Jon Mercer On Fri, 2004-01-02 at 16:27, Greg Bernard wrote: > Hello, > > I am trying to have sendmail used clamd in order to filter incoming mail for > viruses on my mail server. > > I have configured clamav following the instruction found here : > http://linux-sxs.org/administration/clamav-milter.html > > I have modified my settings in order to have sendmail parsed these messages > with smthg like this added in my .mc file : > > > dnl ## milter clamav > INPUT_MAIL_FILTER(`clmilter',`S=local:/var/clamav/clmilter.sock, F=, T=S:4m; > R:4m')dnl > define(`confINPUT_MAIL_FILTERS', `clmilter') > > > When I start sendmail and tries to send a test mail containing a virus > signature, I have a "send: Broken pipe" message... > > > Has anyone got a working way to use clam as a filter for incoming mail with > sendmail... ?? > > > Thanks. > > > ________________________________________________ > «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ > ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ > Gregober ---> PGP ID --> 0x1BA3C2FD > omni_osx_ml @at@ todoo.biz > ________________________________________________ > «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ > ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ > > > _______________________________________________ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- +----------------------------------------------------------------+ | ___ ___ | | / | | / | | / /| | / / | | / / | | _____ / / ____ ____ ___ | | / /__| | / ___ \ / /__ / __ \ / _ | | /__ | | / ____ | / / /_/ / ___ \ / /_/ / / / | | / ___ \ | | / / | | / / __ / / \ \ | ___/__ / / / / / / \ \ | | / / | | | |__/ / / / / / | \__/ / | |_| | / / / / | | /__\ /___\ \_____/ /__| /__| \_____/ \__/|_| /__| /__| | | | | www.achean.com | | ============== | | Jon Mercer [EMAIL PROTECTED] | | | | Mobile 07973 256496 | | | | Tel. 0117 9561211 | | | | Fax 0117 9565637 | +----------------------------------------------------------------+ _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"