mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- allow group access for postfix
PR: 192229 Submitted by: Mel Muth
This commit is contained in:
parent
e903bd7fc0
commit
b4208d4fed
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363850
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= milter-regex
|
||||
PORTVERSION= 2.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://www.benzedrine.cx/
|
||||
|
||||
|
@ -35,8 +35,8 @@ stop_postcmd="milterregex_poststop"
|
||||
milterregex_prestart() {
|
||||
if test ! -d "${spooldir}"
|
||||
then
|
||||
mkdir -m 700 -p "${spooldir}"
|
||||
chown mailnull:daemon "${spooldir}"
|
||||
mkdir -m 750 -p "${spooldir}"
|
||||
chown mailnull:mail "${spooldir}"
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -79,7 +79,7 @@
|
||||
+ fclose(pid_fd);
|
||||
+ }
|
||||
+
|
||||
+ umask(0177);
|
||||
+ umask(0117); /* make socket group writeable */
|
||||
+
|
||||
r = smfi_main();
|
||||
if (r != MI_SUCCESS)
|
||||
|
Loading…
Reference in New Issue
Block a user