File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -65,20 +65,22 @@ is_web_domain_cert_valid
6565# Call routine to add SSL configuration to mail domain
6666add_mail_ssl_config
6767
68+ # Add webmail configuration to mail domain
69+ if [ ! -z " $WEB_SYSTEM " ]; then
70+ add_webmail_config " $WEB_SYSTEM " " default.stpl"
71+ fi
72+ if [ ! -z " $PROXY_SYSTEM " ]; then
73+ add_webmail_config " $PROXY_SYSTEM " " default.stpl"
74+ fi
75+
6876# Increase value for domain
6977increase_user_value " $user " ' $U_MAIL_SSL'
7078
7179# Set SSL as enabled in configuration
7280update_object_value ' mail' ' DOMAIN' " $domain " ' $SSL' " yes"
7381
74- # Refresh webmail configuration
75- if [ ! -z " $WEB_SYSTEM " ]; then
76- add_ssl_webmail_config
7782
78- # Restart web services for webmail changes to take effect
79- $BIN /v-restart-web $restart
80- $BIN /v-restart-proxy $restart
81- fi
83+
8284
8385# ----------------------------------------------------------#
8486# Hestia #
You can’t perform that action at this time.
0 commit comments