diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-02-18 09:43:31 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-02-18 09:43:31 +0000 |
commit | 2d06023be6d43fabe343b2e21ebcd408ff4ffa94 (patch) | |
tree | adb98b460f7b3c19540a1fd82ec33fd321a12cc8 /main/postfix/postfix.pre-install | |
parent | 87b6295fa9a8c634760c7cf54468444f6f2744ad (diff) | |
download | aports-2d06023be6d43fabe343b2e21ebcd408ff4ffa94.zip |
main/postfix: fix detection of shared libs with file-5.12, create vmail user
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 22414ef615c..f004ff658dd 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 |