aboutsummaryrefslogtreecommitdiffstats
path: root/community/clamsmtp/clamsmtp.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'community/clamsmtp/clamsmtp.pre-install')
-rw-r--r--community/clamsmtp/clamsmtp.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/community/clamsmtp/clamsmtp.pre-install b/community/clamsmtp/clamsmtp.pre-install
new file mode 100644
index 0000000000..fdb83a0904
--- /dev/null
+++ b/community/clamsmtp/clamsmtp.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S clamav 2>/dev/null
+adduser -S -D -H -s /sbin/nologin -G clamav -g clamav clamav 2>/dev/null
+
+exit 0