File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ is_object_unsuspended 'user' 'USER' "$user"
3333is_object_valid ' mail' ' DOMAIN' " $domain "
3434is_object_unsuspended ' mail' ' DOMAIN' " $domain "
3535is_object_value_exist ' mail' ' DOMAIN' " $domain " ' $SSL'
36+ is_object_value_exist ' mail' ' DOMAIN' " $domain " ' $LETSENCRYPT'
3637
3738
3839# ----------------------------------------------------------#
@@ -50,12 +51,11 @@ del_webmail_ssl_config
5051
5152# Updating config
5253update_object_value ' mail' ' DOMAIN' " $domain " ' $SSL' ' no'
54+ update_object_value ' mail' ' DOMAIN' " $domain " ' $LETSENCRYPT' ' no'
5355decrease_user_value " $user " ' $U_MAIL_SSL'
5456
5557# Restarting mail server
5658$BIN /v-restart-mail $restart
57- service dovecot restart
58- service exim4 restart
5959check_result $? " Mail restart failed" > /dev/null
6060
6161# Logging
You can’t perform that action at this time.
0 commit comments