We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edccd4f commit cd0ea19Copy full SHA for cd0ea19
1 file changed
bin/v-add-mail-domain-webmail
@@ -132,10 +132,10 @@ else
132
if [ "$WEB_SYSTEM" = "nginx" ]; then
133
WEBMAIL_TEMPLATE="web_system"
134
fi
135
- elif [ "$webmail" == "rainloop" ]; then
136
- WEBMAIL_TEMPLATE="rainloop"
+ elif [ -f "$HESTIA/data/templates/mail/$WEB_SYSTEM/$webmail.tpl" ]; then
+ WEBMAIL_TEMPLATE="$webmail"
137
if [ -n "$PROXY_SYSTEM" ]; then
138
- PROXY_TEMPLATE="default_rainloop"
+ PROXY_TEMPLATE="default_$webmail"
139
140
else
141
WEBMAIL_TEMPLATE="disabled"
0 commit comments