We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75f3b34 commit 5bd65e2Copy full SHA for 5bd65e2
bin/v-add-mail-domain
@@ -128,16 +128,10 @@ if [ ! -z "$DNS_SYSTEM" ] && [ "$dkim" = 'yes' ]; then
128
fi
129
130
# Add webmail configuration to mail domain
131
-WEBMAIL_TEMPLATE="default"
132
-if [ "$WEB_SYSTEM" = "nginx" ]; then
133
- WEBMAIL_TEMPLATE="web_system"
+if [ ! -z "$WEB_SYSTEM" ] || [ ! -z "$PROXY_SYSTEM" ]; then
+ $BIN/v-add-webmail $user $domain ''
134
135
-add_webmail_config "$WEB_SYSTEM" "${WEBMAIL_TEMPLATE}.tpl"
136
-
137
-if [ ! -z "$PROXY_SYSTEM" ]; then
138
- add_webmail_config "$PROXY_SYSTEM" "default.tpl"
139
-fi
140
+
141
#----------------------------------------------------------#
142
# Hestia #
143
0 commit comments