Update 'installer.sh'

This commit is contained in:
b.waal
2019-09-12 12:22:40 +02:00
parent 2bed25eb19
commit e0bba76f26

View File

@@ -360,6 +360,9 @@ echo "endif # Mail::SpamAssassin::Plugin::Shortcircuit" >> /etc/spamassassin/loc
# ClamAV # # ClamAV #
##------------## ##------------##
apt install clamav clamav-daemon clamsmtp libclamunrar7 clamdscan -y 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 # # 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/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 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 # # Rainloop #
##--------------## ##--------------##