aboutsummaryrefslogtreecommitdiffstats
path: root/main/amavis/amavis.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/amavis/amavis.pre-install')
-rwxr-xr-xmain/amavis/amavis.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/main/amavis/amavis.pre-install b/main/amavis/amavis.pre-install
new file mode 100755
index 0000000000..e672682914
--- /dev/null
+++ b/main/amavis/amavis.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S amavis 2>/dev/null
+adduser -S -D -h /var/amavis -s /sbin/nologin -G amavis -g amavis amavis 2>/dev/null
+
+exit 0