aboutsummaryrefslogtreecommitdiffstats
path: root/testing/amavisd-new/post-install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/amavisd-new/post-install')
-rwxr-xr-xtesting/amavisd-new/post-install7
1 files changed, 6 insertions, 1 deletions
diff --git a/testing/amavisd-new/post-install b/testing/amavisd-new/post-install
index 310ead353a..56cad39f52 100755
--- a/testing/amavisd-new/post-install
+++ b/testing/amavisd-new/post-install
@@ -1,6 +1,11 @@
#!/bin/sh
-. ../../common_vars
+HOME=/var/amavis
+QUARANTINE=$HOME/quarantine
+USER=amavis
+GROUP=amavis
+DIRS="$HOME $HOME/tmp $HOME/var $HOME/db $HOME/home $QUARANTINE"
+CONFIG=/etc/amavisd.conf
addgroup $USER
adduser -h $HOME -s /bin/false -G $GROUP -D $USER