summaryrefslogtreecommitdiff
path: root/user/dovecot/dovecot.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'user/dovecot/dovecot.pre-install')
-rw-r--r--user/dovecot/dovecot.pre-install8
1 files changed, 8 insertions, 0 deletions
diff --git a/user/dovecot/dovecot.pre-install b/user/dovecot/dovecot.pre-install
new file mode 100644
index 000000000..73a0aa3e3
--- /dev/null
+++ b/user/dovecot/dovecot.pre-install
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+groupadd -r dovecot 2>/dev/null
+groupadd -r dovenull 2>/dev/null
+useradd -r -u 90 -h /dev/null -s /sbin/nologin -g dovecot dovecot 2>/dev/null
+useradd -r -u 91 -h /dev/null -s /sbin/nologin -g dovenull dovenull 2>/dev/null
+
+exit 0