Commit 34518163 authored by Leonardo Arena's avatar Leonardo Arena

main/postfix: fix postfix user creation

(cherry picked from commit 618047df)
parent 9e604064
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment