Re: FreeBSD Port: clamav-0.93

2008-05-20 Thread Renato Botelho
On Sun, May 18, 2008 at 11:44:26AM +1000, Adrian Thearle wrote: > Hi > > I have made a change to the clamav-milter startup script that helps with > permissions on the socket. > I use postfix, not sure of sendmails requirements, but the socket needs to > be writeable by the postfix user. The atta

Re: FreeBSD Port: clamav-0.93

2008-05-17 Thread Adrian Thearle
Attached is an updated unified diff Looks like sendmail works with the default set of permission on the socket. Is your sendmail running as root? Perhaps that's how it can access the socket... I run postfix under the postfix user. To get the clamav-milter to work, i need to change the owner o

Re: FreeBSD Port: clamav-0.93

2008-05-17 Thread David Wolfskill
On Sun, May 18, 2008 at 11:44:26AM +1000, Adrian Thearle wrote: > Hi > > I have made a change to the clamav-milter startup script that helps with > permissions on the socket. > I use postfix, not sure of sendmails requirements, but the socket needs > to be writeable by the postfix user. The atta

FreeBSD Port: clamav-0.93

2008-05-17 Thread Adrian Thearle
Hi I have made a change to the clamav-milter startup script that helps with permissions on the socket. I use postfix, not sure of sendmails requirements, but the socket needs to be writeable by the postfix user. The attached patch adds three variables that can be used to change the permissions