Skip to content

Commit ef58dd2

Browse files
committed
Fix for webmail alias change if name is set to roundcube.
1 parent c2e3659 commit ef58dd2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/v-change-sys-webmail

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ if [ ! -z "$nginx_webmail" ]; then
6262
if [ ! "$nginx_webmail" = "$WEBMAIL" ]; then
6363
# Replace webmail alias in config files.
6464
sed -i "s|$nginx_webmail|$WEBMAIL|" /etc/nginx/conf.d/webmail.inc
65+
sed -i "s|/var/lib$WEBMAIL|/var/lib/roundcube|" /etc/nginx/conf.d/webmail.inc
6566

6667
# Replace in Backend UI
6768
sed -i "s|$nginx_webmail/|$WEBMAIL/|" /usr/local/hestia/web/templates/admin/list_mail.html

0 commit comments

Comments
 (0)