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 6b45ece commit ee1a0a5Copy full SHA for ee1a0a5
bin/v-change-sys-webmail
@@ -41,11 +41,10 @@ for user in `ls /usr/local/hestia/data/users/`; do
41
done
42
43
# Set new webmail alias
44
-sed -i "s|WEBMAIL_ALIAS='$OLD_ALIAS'|WEBMAIL_ALIAS='$NEW_ALIAS'|gI" $HESTIA/conf/hestia.conf
+$BIN/v-change-sys-config-value 'WEBMAIL_ALIAS' '$NEW_ALIAS'
45
46
for user in `ls /usr/local/hestia/data/users/`; do
47
for domain in $($BIN/v-list-web-domains $user plain |cut -f 1); do
48
- echo "Changing webmail alias for $domain"
49
$BIN/v-add-webmail $user $domain
50
51
0 commit comments