summaryrefslogtreecommitdiff
path: root/user/postfix/postfix.pre-install
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-22 05:59:20 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-22 05:59:20 +0000
commite8742fac72237e98c50465c7025734ef5dd30fb4 (patch)
tree22b2223bdbaf04a91f46c9b2b5a5b7b77c8a929c /user/postfix/postfix.pre-install
parentf24ed16dccb1bd1f14309a047dbb4057077c2cb3 (diff)
downloadpackages-e8742fac72237e98c50465c7025734ef5dd30fb4.tar.gz
packages-e8742fac72237e98c50465c7025734ef5dd30fb4.tar.bz2
packages-e8742fac72237e98c50465c7025734ef5dd30fb4.tar.xz
packages-e8742fac72237e98c50465c7025734ef5dd30fb4.zip
user/postfix: new package
Diffstat (limited to 'user/postfix/postfix.pre-install')
-rw-r--r--user/postfix/postfix.pre-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/user/postfix/postfix.pre-install b/user/postfix/postfix.pre-install
new file mode 100644
index 000000000..73ebdba3f
--- /dev/null
+++ b/user/postfix/postfix.pre-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+groupadd -g 207 -r postfix
+groupadd -g 208 -r postdrop
+useradd -u 207 -c "Postfix Mail Server" -M -N -G postfix,mail -r -s /sbin/nologin postfix