aboutsummaryrefslogtreecommitdiffstats
path: root/main/amavisd-new/amavisd-new.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/amavisd-new/amavisd-new.post-install')
-rwxr-xr-xmain/amavisd-new/amavisd-new.post-install15
1 files changed, 3 insertions, 12 deletions
diff --git a/main/amavisd-new/amavisd-new.post-install b/main/amavisd-new/amavisd-new.post-install
index 56cad39f52..2c5ea2cf65 100755
--- a/main/amavisd-new/amavisd-new.post-install
+++ b/main/amavisd-new/amavisd-new.post-install
@@ -1,14 +1,5 @@
#!/bin/sh
-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
-chown -R $USER:$GROUP $HOME
-chmod -R 750 $HOME
-chown root:$GROUP $CONFIG
+chown -R amavis:amavis /var/amavis
+chmod -R 750 /var/amavis
+chown root:amavis /etc/amavisd.conf