Update 'installer.sh'

This commit is contained in:
b.waal
2019-08-31 11:06:09 +02:00
parent 22b9bdd56b
commit dc7cec929d

View File

@@ -279,7 +279,7 @@ systemctl restart postfix.service
##-----------------------##
wget -O- https://repo.dovecot.org/DOVECOT-REPO-GPG | sudo apt-key add -
echo "deb https://repo.dovecot.org/ce-2.3-latest/ubuntu/$(lsb_release -cs) $(lsb_release -cs) main" | sudo tee -a /etc/apt/sources.list.d/dovecot.list
apt install dovecot-imapd dovecot-lmtpd dovecot-pop3d dovecot-mysql
apt install dovecot-imapd dovecot-lmtpd dovecot-pop3d dovecot-mysql -y
##---------------------------##
# Dovecot Configuration #
@@ -296,4 +296,4 @@ wget --tries=3 https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Mail/raw/branch/"$
wget --tries=3 https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Mail/raw/branch/"$branch"/config/dovecot/dovecot-sql.conf.ext -O /etc/dovecot/dovecot-sql.conf.ext
wget --tries=3 https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Mail/raw/branch/"$branch"/config/dovecot/quota-warning.sh -O /usr/local/bin/quota-warning.sh
chmod +x /usr/local/bin/quota-warning.sh
systemctl dovecot restart
systemctl restart dovecot