diff --git a/src/freedombone-utils-web b/src/freedombone-utils-web index f85aa659..e8d76622 100755 --- a/src/freedombone-utils-web +++ b/src/freedombone-utils-web @@ -758,9 +758,9 @@ function update_default_domain { fi if [ -d /etc/dovecot ]; then - if ! grep -q "ssl_cert = /etc/ssl/certs/${DEFAULT_DOMAIN_NAME}.pem" /etc/dovecot/conf.d/10-ssl.conf; then - sed -i "s|#ssl_cert =.*|ssl_cert = /etc/ssl/certs/${DEFAULT_DOMAIN_NAME}.pem|g" /etc/dovecot/conf.d/10-ssl.conf - sed -i "s|ssl_cert =.*|ssl_cert = /etc/ssl/certs/${DEFAULT_DOMAIN_NAME}.pem|g" /etc/dovecot/conf.d/10-ssl.conf + if ! grep -q "ssl_cert =