summaryrefslogtreecommitdiff
path: root/user/postfix/postfix.pre-install
diff options
context:
space:
mode:
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