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 # ##--------------##