File tree Expand file tree Collapse file tree 2 files changed +23
-5
lines changed
Expand file tree Collapse file tree 2 files changed +23
-5
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ All notable changes to this project will be documented in this file.
1212- Explicitly disable cron reports #1978
1313- Fixed an issue where in rare cases certificate failed to install @dpeca and @myvesta
1414- Fixed an issue where composer failed to install when .composer folder is missing
15+ - Fix #1980 Lets Encrypt Auto Renewal Reverts Webmail Client back to Roundcube
1516
1617## [ 1.4.5] - Service release
1718
Original file line number Diff line number Diff line change 7878# Call routine to add SSL configuration to mail domain
7979add_mail_ssl_config
8080
81- # Add webmail configuration to mail domain
82- WEBMAIL_TEMPLATE=" default"
83- if [ " $WEB_SYSTEM " = " nginx" ]; then
84- WEBMAIL_TEMPLATE=" web_system"
81+ if [ " $webmail " == " roundcube" ]; then
82+ WEBMAIL_TEMPLATE=" default"
83+ if [ ! -z " $PROXY_SYSTEM " ]; then
84+ PROXY_TEMPLATE=" default"
85+ fi
86+ # Add webmail configuration to mail domain
87+ WEBMAIL_TEMPLATE=" default"
88+ if [ " $WEB_SYSTEM " = " nginx" ]; then
89+ WEBMAIL_TEMPLATE=" web_system"
90+ fi
91+ elif [ " $webmail " == " rainloop" ]; then
92+ WEBMAIL_TEMPLATE=" rainloop"
93+ if [ ! -z " $PROXY_SYSTEM " ]; then
94+ PROXY_TEMPLATE=" default_rainloop"
95+ fi
96+ else
97+ WEBMAIL_TEMPLATE=" disabled"
98+ if [ ! -z " $PROXY_SYSTEM " ]; then
99+ PROXY_TEMPLATE=" default_disabled"
100+ fi
85101fi
102+
86103add_webmail_config " $WEB_SYSTEM " " ${WEBMAIL_TEMPLATE} .stpl"
87104
88105if [ ! -z " $PROXY_SYSTEM " ]; then
89- add_webmail_config " $PROXY_SYSTEM " " default .stpl"
106+ add_webmail_config " $PROXY_SYSTEM " " ${PROXY_TEMPLATE} .stpl"
90107fi
91108
92109# Increase value for domain
You can’t perform that action at this time.
0 commit comments