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 attached patch adds three variables 
> that can be used to change the permissions and owner of the socket. I 
> checked for this functionality within clam itself, but could not find an 
> option.

Hi,

Clamav has 2 options that you can set on your /etc/make.conf:

CLAMAVUSER
CLAMAVGROUP

You can safely set this to postfix user and group, and after this, socket
and all other things needed will have the correct permissions.

I will commit part of the change you proposed to clamav's port, the mode
option, that is already present in clamav-devel port.

After this commit, if you don't want to install clamav with postfix user,
you can install with clamav user and group, change socket mode to group
writeable and add postfix user to clamav's group.

Regards
-- 
Renato Botelho <garga @ FreeBSD.org>
               <garga @ freebsdbrasil.com.br>
GnuPG Key: http://www.FreeBSD.org/~garga/pubkey.asc

186,000 miles per second:
It isn't just a good idea, it's the law!
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to