Skip to content

Commit 65bf9c1

Browse files
authored
* Fix issue hestiacp#1139 By force rebuilding webmail config files * Also close hestiacp#2191
1 parent 52dc4fb commit 65bf9c1

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,11 @@ All notable changes to this project will be documented in this file.
2222
- Add Download SSL certificate function for self generated ssl certificates #2181
2323
- Block access to .user.ini for Nginx + Apache2 #2179
2424
- Add support for download B2 backup to local server to allow for restore #2199
25-
- Update permissions /var/kog/roundcube on older installations #2173
25+
- Update permissions /var/log/roundcube on older installations #2173
2626
- Update translations
2727
- Fix Roundcube permissions
2828
- Add webp to list of media formats that can be cached by the browser
29+
- Fix #1139 By force rebuilding webmail config files
2930

3031
### Dependencies
3132

bin/v-change-web-domain-ip

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,12 @@ if [ -n "$PROXY_SYSTEM" ] && [ -n "$PROXY" ]; then
7777
fi
7878
fi
7979

80+
# Check for webmail
81+
if [ -n "$IMAP_SYSTEM" ]; then
82+
$BIN/v-rebuild-mail-domain "$user" "$domain"
83+
fi
84+
85+
8086

8187
#----------------------------------------------------------#
8288
# Hestia #

bin/v-update-sys-ip

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,12 @@ if [ ! -z "$new" ]; then
7878
$BIN/v-restart-proxy
7979
$BIN/v-restart-web
8080
fi
81+
82+
if [ -n "$IMAP_SYSTEM" ]; then
83+
for user in $($HESTIA/bin/v-list-sys-users plain); do
84+
$BIN/v-rebuild-mail-domains "$user" no
85+
done
86+
fi
8187

8288
# Updating DNS
8389
if [ ! -z "$DNS_SYSTEM" ]; then

0 commit comments

Comments
 (0)