summaryrefslogtreecommitdiff
path: root/user/dovecot/dovecot.pre-install
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2020-05-06 00:53:22 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2020-05-06 00:53:22 +0000
commit507cfde0847515e7529b110e69ef2322a5cf37f4 (patch)
treeb8ece634ba552bad49e2d395bbb89d3430c5a028 /user/dovecot/dovecot.pre-install
parent7d6a83dbf478235cc84f3cdbd0d1ccb82c8514a1 (diff)
parented2e5d142804bd69d296c39c6b861b8401718469 (diff)
downloadpackages-507cfde0847515e7529b110e69ef2322a5cf37f4.tar.gz
packages-507cfde0847515e7529b110e69ef2322a5cf37f4.tar.bz2
packages-507cfde0847515e7529b110e69ef2322a5cf37f4.tar.xz
packages-507cfde0847515e7529b110e69ef2322a5cf37f4.zip
Merge branch 'user/dovecot' into 'master'
user/dovecot: import from Alpine with PAM See merge request adelie/packages!442
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