Skip to content

Commit 194a436

Browse files
LupulKristan Kenney
authored andcommitted
bugfix: select correct webmail template (hestiacp#265)
1 parent a979a3e commit 194a436

File tree

7 files changed

+3
-3
lines changed

7 files changed

+3
-3
lines changed

bin/v-add-mail-domain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ if [ ! -z "$DNS_SYSTEM" ] && [ "$dkim" = 'yes' ]; then
128128
fi
129129

130130
# Add webmail configuration to mail domain
131-
WEBMAIL_TEMPLATE="proxy_system"
131+
WEBMAIL_TEMPLATE="default"
132132
if [ "$WEB_SYSTEM" = "nginx" ]; then
133133
WEBMAIL_TEMPLATE="web_system"
134134
fi

bin/v-add-mail-domain-ssl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ is_web_domain_cert_valid
6464
add_mail_ssl_config
6565

6666
# Add webmail configuration to mail domain
67-
WEBMAIL_TEMPLATE="proxy_system"
67+
WEBMAIL_TEMPLATE="default"
6868
if [ "$WEB_SYSTEM" = "nginx" ]; then
6969
WEBMAIL_TEMPLATE="web_system"
7070
fi

bin/v-add-webmail

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ is_object_unsuspended 'mail' 'DOMAIN' "$domain"
5555
#----------------------------------------------------------#
5656

5757
# Add webmail configuration to mail domain
58-
WEBMAIL_TEMPLATE="proxy_system"
58+
WEBMAIL_TEMPLATE="default"
5959
if [ "$WEB_SYSTEM" = "nginx" ]; then
6060
WEBMAIL_TEMPLATE="web_system"
6161
fi
File renamed without changes.
File renamed without changes.

install/deb/templates/mail/nginx/web_system.stpl

100755100644
File mode changed.

install/deb/templates/mail/nginx/web_system.tpl

100755100644
File mode changed.

0 commit comments

Comments
 (0)