Jerry wrote: > On Fri, 30 Oct 2009 16:26:10 +0100 > Erwan David <er...@rail.eu.org> replied: > >> Jerry a écrit : >>> System: FreeBSD-7.2 >>> >>> I just updated to clamav-0.95.3 on my system. I then realized that >>> clamav-milter and Postfix were no longer connecting. >>> >>> </usr/local/etc/postfix/main.cf> >>> # Enable clamav-milter >>> milter_default_action = accept >>> smtpd_milters = unix:/var/run/clamav/clmilter.sock >>> >>> </var/run/clamav/clmilter.sock> >>> srwxr-xr-x 1 clamav wheel 0B Oct 30 10:22 clmilter.sock= >>> >>> </var/log/maillog> >>> Oct 30 10:23:26 scorpio postfix/smtpd[1339]: warning: connect to >>> Milter service unix:/var/run/clamav/clmilter.sock: Permission denied >>> >>> </tmp/clamav-milter.log> >>> Fri Oct 30 10:22:16 2009 -> +++ Started at Fri Oct 30 10:22:16 2009 >>> >>> I tried doing a complete reboot of the system; however, the problem >>> continues. I have confirmed that the milter is running. Everything >>> was working perfectly under version 0.95.2 of clamav. I made >>> absolutely no other changes. >>> >> >> For me restarting clamav-milter did the trick. Check your milter >> setting, the permissions on the socket must be changed by the starting >> script for use with postfix. >> >> The port does this well provided it is configured to do so. > > OK, but what permissions does it need? I have posted what it currently > is in my original post. >
Mine is srwxr-xr-x 1 postfix clamav - 0 Oct 30 15:15 /var/run/clamav/clmilter.sock In the port this is controlled by clamav_milter_socket_user="postfix" -- Erwan