File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -439,7 +439,7 @@ rebuild_dns_domain_conf() {
439439
440440# MAIL domain rebuild
441441rebuild_mail_domain_conf () {
442-
442+ get_domain_values ' web '
443443 get_domain_values ' mail'
444444
445445 if [[ " $domain " = * [! [:ascii:]]* ]]; then
@@ -505,10 +505,20 @@ rebuild_mail_domain_conf() {
505505 del_mail_ssl_config
506506 add_mail_ssl_config
507507
508+ add_webmail_config ' $WEB_SYSTEM' ' default.stpl'
509+
508510 # Update counters
509511 update_object_value ' mail' ' DOMAIN' " $domain " ' $SSL' " yes"
510512 U_MAIL_SSL=$(( U_MAIL_SSL + 1 ))
511513 fi
514+
515+ # Add webmail configuration
516+ if [ ! -z " $WEB_SYSTEM " ]; then
517+ add_webmail_config ' $WEB_SYSTEM' ' default.tpl'
518+ fi
519+ if [ ! -z " PROXY_SYSTEM" ]; then
520+ add_webmail_config ' PROXY_SYSTEM' ' default.tpl'
521+ fi
512522 fi
513523
514524 # Rebuild domain accounts
You can’t perform that action at this time.
0 commit comments