aboutsummaryrefslogtreecommitdiffstats
path: root/main/postfix/postfix.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/postfix/postfix.pre-install')
-rw-r--r--main/postfix/postfix.pre-install7
1 files changed, 7 insertions, 0 deletions
diff --git a/main/postfix/postfix.pre-install b/main/postfix/postfix.pre-install
new file mode 100644
index 0000000000..22414ef615
--- /dev/null
+++ b/main/postfix/postfix.pre-install
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+addgroup postfix 2>/dev/null
+addgroup postdrop 2>/dev/null
+adduser postfix -h /var/spool/postfix -G postfix,mail 2>/dev/null
+
+exit 0