summaryrefslogtreecommitdiff
path: root/user/dovecot/dovecot.pre-install
diff options
context:
space:
mode:
authorLee Starnes <lee@canned-death.us>2020-05-06 00:53:22 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2020-05-06 00:53:22 +0000
commited2e5d142804bd69d296c39c6b861b8401718469 (patch)
treeb8ece634ba552bad49e2d395bbb89d3430c5a028 /user/dovecot/dovecot.pre-install
parent7d6a83dbf478235cc84f3cdbd0d1ccb82c8514a1 (diff)
downloadpackages-ed2e5d142804bd69d296c39c6b861b8401718469.tar.gz
packages-ed2e5d142804bd69d296c39c6b861b8401718469.tar.bz2
packages-ed2e5d142804bd69d296c39c6b861b8401718469.tar.xz
packages-ed2e5d142804bd69d296c39c6b861b8401718469.zip
user/dovecot: review fixes
- move default SSL key and cert stuff to a patch - use auth-system.conf instead of auth-passwdfile.conf because we have PAM - explain manual removal of *.la - other Adelification fixes
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