diff --git a/installer.sh b/installer.sh index d2fd8ca..7b75767 100644 --- a/installer.sh +++ b/installer.sh @@ -295,8 +295,8 @@ 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-dict-sql.conf.ext -O /etc/dovecot/dovecot-dict-sql.conf.ext 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 -sed -i 's/PASSword/'$password'/g' ~/Ubuntu-Mail/config/dovecot/dovecot-sql.conf.ext -sed -i 's/PASSword/'$password'/g' ~/Ubuntu-Mail/config/dovecot/dovecot-dict-sql.conf.ext +sed -i 's/PASSword/'$password'/g' /etc/dovecot/dovecot-sql.conf.ext +sed -i 's/PASSword/'$password'/g' /etc/dovecot/dovecot-dict-sql.conf.ext sed -i -e 's/DOMAINname/'$domain'/' -e 's/#ssl_cert = /ssl_cert = /' -e 's/#ssl_key = /ssl_key = /' -e 's/#ssl_dh = /ssl_dh = /' /etc/dovecot/conf.d/10-ssl.conf chmod +x /usr/local/bin/quota-warning.sh systemctl restart dovecot \ No newline at end of file