mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
- Set uid/gid and file protection on /var/run/spamass-milter,
allows easier integration for postfix mail - Bump PORTREVISION PR: ports/106153 Submitted by: Thomas Abthorpe <thomas@goodking.ca> (maintainer)
This commit is contained in:
parent
4dd6c4c5fc
commit
933e228f47
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=178524
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= spamass-milter
|
||||
PORTVERSION= 0.3.1
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
|
||||
MASTER_SITE_SUBDIR= spamass-milt
|
||||
|
@ -34,6 +34,9 @@ start_postcmd()
|
||||
sleep 1
|
||||
kill -HUP `head -1 /var/run/sendmail.pid`
|
||||
fi
|
||||
|
||||
/usr/sbin/chown ${spamass_milter_socket_owner}:${spamass_milter_socket_group} ${spamass_milter_socket}
|
||||
/bin/chmod ${spamass_milter_socket_mode} ${spamass_milter_socket}
|
||||
}
|
||||
|
||||
stop_postcmd()
|
||||
@ -50,5 +53,8 @@ load_rc_config $name
|
||||
: ${spamass_milter_enable="NO"}
|
||||
: ${spamass_milter_socket="/var/run/spamass-milter.sock"}
|
||||
: ${spamass_milter_flags="-f -p ${spamass_milter_socket}"}
|
||||
: ${spamass_milter_socket_owner="root"}
|
||||
: ${spamass_milter_socket_group="wheel"}
|
||||
: ${spamass_milter_socket_mode="644"}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
Loading…
Reference in New Issue
Block a user