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 382b3c3 commit 52e80b0Copy full SHA for 52e80b0
bin/v-rebuild-mail-domains
@@ -45,9 +45,6 @@ U_MAIL_SSL=0
45
SUSPENDED_MAIL=0
46
U_DISK_MAIL=0
47
48
-# Update mail templates
49
-$BIN/v-update-mail-templates
50
-
51
# Checking mail folder
52
if [ ! -d "$USER_DATA/mail" ]; then
53
rm -f $USER_DATA/mail
bin/v-update-mail-templates
@@ -40,6 +40,11 @@ fi
40
# Update templates
41
cp -rf $HESTIA/install/$type/templates/mail $HESTIA/data/templates/
42
43
+# Rebuilding mail domains
44
+for user in $($BIN/v-list-sys-users plain); do
+ $BIN/v-rebuild-mail-domains $user no
+done
+
#----------------------------------------------------------#
# Hestia #
0 commit comments