summaryrefslogtreecommitdiff
path: root/mail/milter-regex/files
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2014-08-03 05:34:43 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2014-08-03 05:34:43 +0000
commitb4208d4fedbf3312099553149b2b0ff06b754735 (patch)
treef7eec193f07820045ab6a39e38db0da94a6640ca /mail/milter-regex/files
parentFix -ldbi not found error. (diff)
- allow group access for postfix
PR: 192229 Submitted by: Mel Muth
Diffstat (limited to 'mail/milter-regex/files')
-rw-r--r--mail/milter-regex/files/milterregex.in4
-rw-r--r--mail/milter-regex/files/patch-milter-regex.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/mail/milter-regex/files/milterregex.in b/mail/milter-regex/files/milterregex.in
index 5d5e26805ffe..9667c06f1b76 100644
--- a/mail/milter-regex/files/milterregex.in
+++ b/mail/milter-regex/files/milterregex.in
@@ -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
}
diff --git a/mail/milter-regex/files/patch-milter-regex.c b/mail/milter-regex/files/patch-milter-regex.c
index 1c7cde49ce56..6d3775c69f2e 100644
--- a/mail/milter-regex/files/patch-milter-regex.c
+++ b/mail/milter-regex/files/patch-milter-regex.c
@@ -79,7 +79,7 @@
+ fclose(pid_fd);
+ }
+
-+ umask(0177);
++ umask(0117); /* make socket group writeable */
+
r = smfi_main();
if (r != MI_SUCCESS)