diff options
Diffstat (limited to 'main/postfix/postfix.pre-install')
-rw-r--r-- | main/postfix/postfix.pre-install | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/main/postfix/postfix.pre-install b/main/postfix/postfix.pre-install index 22414ef615..f004ff658d 100644 --- a/main/postfix/postfix.pre-install +++ b/main/postfix/postfix.pre-install @@ -1,7 +1,9 @@ #!/bin/sh -addgroup postfix 2>/dev/null -addgroup postdrop 2>/dev/null -adduser postfix -h /var/spool/postfix -G postfix,mail 2>/dev/null +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 -s /sbin/nologin -h /var/mail/domains -G postdrop vmail 2>/dev/null + exit 0 |