Update 'installer.sh'
This commit is contained in:
10
installer.sh
10
installer.sh
@@ -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 #
|
||||||
##--------------##
|
##--------------##
|
||||||
|
|||||||
Reference in New Issue
Block a user