diff options
-rw-r--r-- | main/postfix/APKBUILD | 4 | ||||
-rw-r--r-- | main/postfix/postfix.pre-install | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/main/postfix/APKBUILD b/main/postfix/APKBUILD index 1c0b86f514..61ae147400 100644 --- a/main/postfix/APKBUILD +++ b/main/postfix/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=postfix pkgver=3.0.3 -pkgrel=0 +pkgrel=1 pkgdesc="Secure and fast drop-in replacement for Sendmail (MTA)" url="http://www.postfix.org/" arch="all" @@ -14,6 +14,8 @@ install="$pkgname.pre-install" subpackages="$pkgname-doc $pkgname-ldap $pkgname-mysql $pkgname-pcre $pkgname-pgsql $pkgname-sqlite" options="suid" +pkgusers="postfix" +pkggroups="postfix postdrop" source="ftp://ftp.porcupine.org/mirrors/$pkgname-release/official/$pkgname-$pkgver.tar.gz $pkgname.initd no-glibc.patch diff --git a/main/postfix/postfix.pre-install b/main/postfix/postfix.pre-install index f004ff658d..c3fc668dc9 100644 --- a/main/postfix/postfix.pre-install +++ b/main/postfix/postfix.pre-install @@ -2,7 +2,8 @@ addgroup -S postfix 2>/dev/null addgroup -S postdrop 2>/dev/null -adduser -S -h /var/spool/postfix -G postfix,mail postfix 2>/dev/null +adduser -S -h /var/spool/postfix -G postfix postfix 2>/dev/null +addgroup postfix mail 2>/dev/null adduser -S -H -s /sbin/nologin -h /var/mail/domains -G postdrop vmail 2>/dev/null |