aboutsummaryrefslogtreecommitdiffstats
path: root/main/postfix
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-08-29 08:18:12 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-08-29 08:18:12 +0000
commitf83e779ce2429c137e01b973527baa2ab74e8b15 (patch)
tree67c289c9825b7a3b1564c5bf3789fc082b88f7fa /main/postfix
parent34aea8221b65317b4c6ab475d2bce9c62a7a8939 (diff)
downloadaports-f83e779ce2429c137e01b973527baa2ab74e8b15.tar.bz2
aports-f83e779ce2429c137e01b973527baa2ab74e8b15.tar.xz
main/postfix: preserve permission of /var/spool/postfix
Do not create the homedir when creating 'postfix' user. This is so we keep the permissions of /var/spool/postfix from apk. fixes #9335
Diffstat (limited to 'main/postfix')
-rw-r--r--main/postfix/APKBUILD2
-rw-r--r--main/postfix/postfix.pre-install2
2 files changed, 2 insertions, 2 deletions
diff --git a/main/postfix/APKBUILD b/main/postfix/APKBUILD
index 4029cf98d8..5e0e43e2cb 100644
--- a/main/postfix/APKBUILD
+++ b/main/postfix/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=postfix
pkgver=3.3.1
-pkgrel=1
+pkgrel=2
pkgdesc="Secure and fast drop-in replacement for Sendmail (MTA)"
url="http://www.postfix.org/"
arch="all"
diff --git a/main/postfix/postfix.pre-install b/main/postfix/postfix.pre-install
index fc62efb3cf..132c195a12 100644
--- a/main/postfix/postfix.pre-install
+++ b/main/postfix/postfix.pre-install
@@ -2,7 +2,7 @@
addgroup -S postfix 2>/dev/null
addgroup -S postdrop 2>/dev/null
-adduser -S -h /var/spool/postfix -G postfix -g postfix postfix 2>/dev/null
+adduser -S -H -h /var/spool/postfix -G postfix -g postfix postfix 2>/dev/null
addgroup postfix mail 2>/dev/null
adduser -S -H -h /var/mail/domains -s /sbin/nologin -G postdrop -g vmail vmail 2>/dev/null