From e0bba76f2691c4eb0c16149e6bec17f8ae53e6a3 Mon Sep 17 00:00:00 2001 From: "b.waal" Date: Thu, 12 Sep 2019 12:22:40 +0200 Subject: [PATCH] Update 'installer.sh' --- installer.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/installer.sh b/installer.sh index 2a28fb0..fa51b08 100644 --- a/installer.sh +++ b/installer.sh @@ -360,6 +360,9 @@ echo "endif # Mail::SpamAssassin::Plugin::Shortcircuit" >> /etc/spamassassin/loc # ClamAV # ##------------## apt install clamav clamav-daemon clamsmtp libclamunrar7 clamdscan -y +chown -R clamav:clamav /var/log/clamav +chown -R clamav:clamav /var/lib/clamav +chmod 777 -R /var/lib/clamav ##------------## # Amavis # @@ -395,13 +398,6 @@ wget -q -t7 https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Mail/raw/branch/"$bra wget -q -t7 https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Mail/raw/branch/"$branch"/config/amavis/21-ubuntu_defaults -O /etc/amavis/conf.d/21-ubuntu_defaults wget -q -t7 https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Mail/raw/branch/"$branch"/config/amavis/50-user -O /etc/amavis/conf.d/50-user -##-----------------------## -# ClamAV Permission # -##-----------------------## -chown -R clamav:clamav /var/log/clamav -chown -R clamav:clamav /var/lib/clamav -chmod 775 -R /var/lib/clamav - ##--------------## # Rainloop # ##--------------##