Re: Postfix and clamav-milter stopped working after update to clamav-0.95.3

2009-10-30 Thread Erwan David
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.

-- 
Erwan David


Re: Postfix and clamav-milter stopped working after update to clamav-0.95.3

2009-10-30 Thread Jerry
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.

--  
Jerry
postfix.u...@yahoo.com

TO REPORT A PROBLEM see http://www.postfix.org/DEBUG_README.html#mail
TO (UN)SUBSCRIBE see http://www.postfix.org/lists.html

Love is like the measles; we all have to go through it.

 Jerome K. Jerome



Re: Postfix and clamav-milter stopped working after update to clamav-0.95.3

2009-10-30 Thread Erwan David
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


Re: Postfix and clamav-milter stopped working after update to clamav-0.95.3

2009-10-30 Thread Jerry
On Fri, 30 Oct 2009 17:12:40 +0100
Erwan David er...@rail.eu.org replied:

[snip]

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

I changed the permissions on mine to: 0777. I figured it was easier
than finding that something else had stopped working.


--  
Jerry
postfix.u...@yahoo.com

TO REPORT A PROBLEM see http://www.postfix.org/DEBUG_README.html#mail
TO (UN)SUBSCRIBE see http://www.postfix.org/lists.html

Leibowitz's Rule:
When hammering a nail, you will never hit your
finger if you hold the hammer with both hands.