diff options
author | dinoex <dinoex@FreeBSD.org> | 2014-08-03 13:34:43 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2014-08-03 13:34:43 +0800 |
commit | 928620e1de87b3d8098c116848e7f70bb6386591 (patch) | |
tree | f7eec193f07820045ab6a39e38db0da94a6640ca /mail | |
parent | 4154c8cefc59468b7a41d382aebed6bc33249c11 (diff) | |
download | freebsd-ports-gnome-928620e1de87b3d8098c116848e7f70bb6386591.tar.gz freebsd-ports-gnome-928620e1de87b3d8098c116848e7f70bb6386591.tar.zst freebsd-ports-gnome-928620e1de87b3d8098c116848e7f70bb6386591.zip |
- allow group access for postfix
PR: 192229
Submitted by: Mel Muth
Diffstat (limited to 'mail')
-rw-r--r-- | mail/milter-regex/Makefile | 1 | ||||
-rw-r--r-- | mail/milter-regex/files/milterregex.in | 4 | ||||
-rw-r--r-- | mail/milter-regex/files/patch-milter-regex.c | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/mail/milter-regex/Makefile b/mail/milter-regex/Makefile index 8c1e4a18a48e..c49299b5a3ab 100644 --- a/mail/milter-regex/Makefile +++ b/mail/milter-regex/Makefile @@ -3,6 +3,7 @@ PORTNAME= milter-regex PORTVERSION= 2.0 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://www.benzedrine.cx/ 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) |