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.
This is similar to the way spamass-milter does it.
Cheers
Adrian
29a30,36
> start_postcmd=start_postcmd
>
> start_postcmd()
> {
> /usr/sbin/chown ${clamav_milter_socket_owner}:${clamav_milter_socket_group} ${clamav_milter_socket}
> /bin/chmod ${clamav_milter_socket_mode} ${clamav_milter_socket}
> }
64a72,74
> : ${clamav_milter_socket_owner="clamav"}
> : ${clamav_milter_socket_group="clamav"}
> : ${clamav_milter_socket_mode="755"}
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"