|
|
@@ -48,13 +48,15 @@
|
|
|
--config-file=$clamav_cfgfile \
|
|
|
$clamav_clamd_flags
|
|
|
elif [ ".$daemon" = ".clamav-milter" -a -x @l_prefix@/sbin/clamav-milter ]; then
|
|
|
- @l_prefix@/sbin/clamav-milter \
|
|
|
- --config-file=$clamav_cfgfile \
|
|
|
- --max-children=4 --outgoing --local \
|
|
|
- --pidfile=$clamav_pidfile_clamav_milter \
|
|
|
- --sendmail-cf=/dev/null \
|
|
|
- $clamav_clamav_milter_flags \
|
|
|
- local:@l_prefix@/var/clamav/clamav-milter.socket
|
|
|
+ ( umask 002
|
|
|
+ @l_prefix@/sbin/clamav-milter \
|
|
|
+ --config-file=$clamav_cfgfile \
|
|
|
+ --max-children=4 --outgoing --local \
|
|
|
+ --pidfile=$clamav_pidfile_clamav_milter \
|
|
|
+ --sendmail-cf=/dev/null \
|
|
|
+ $clamav_clamav_milter_flags \
|
|
|
+ local:@l_prefix@/var/clamav/clamav-milter.socket
|
|
|
+ ) || exit $?
|
|
|
fi
|
|
|
done
|
|
|
|