1
0
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:
Dirk Meyer 2014-08-03 05:34:43 +00:00
parent e903bd7fc0
commit b4208d4fed
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363850
3 changed files with 4 additions and 3 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= milter-regex
PORTVERSION= 2.0
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.benzedrine.cx/

View File

@ -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
}

View File

@ -79,7 +79,7 @@
+ fclose(pid_fd);
+ }
+
+ umask(0177);
+ umask(0117); /* make socket group writeable */
+
r = smfi_main();
if (r != MI_SUCCESS)