The following patch fixes the a problem using 'adduser' with two groups
at the same time, which results in not creating the user 'postfix'.
This ends up in not being able to start postfix until the user is created or
another one is set in postfix-config.
diff --git a/main/postfix/postfix.pre-install
b/main/postfix/postfix.pre-install
index f004ff6..1a5afb3 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
adduser -S -H -s /sbin/nologin -h /var/mail/domains -G postdrop vmail 2>/dev/null
--
- Roger Newman -
---
Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org
Help: alpine-devel+help@lists.alpinelinux.org
---