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 a4386b2 commit f08af08Copy full SHA for f08af08
bin/v-unsuspend-mail-domain
@@ -46,9 +46,6 @@ if [[ "$MAIL_SYSTEM" =~ exim ]]; then
46
ln -s $HOMEDIR/$user/conf/mail/$domain /etc/$MAIL_SYSTEM/domains/
47
fi
48
49
-# Enable webmail access
50
-$BIN/v-add-webmail $user $domain 'yes'
51
-
52
#----------------------------------------------------------#
53
# Hestia #
54
@@ -58,6 +55,9 @@ update_object_value 'mail' 'DOMAIN' "$domain" '$SUSPENDED' 'no'
58
55
sed -i "s/SUSPENDED='yes'/SUSPENDED='no'/g" $USER_DATA/mail/$domain.conf
59
56
decrease_user_value "$user" '$SUSPENDED_MAIL'
60
57
+# Enable webmail access
+$BIN/v-add-webmail $user $domain 'yes'
+
61
# Logging
62
log_event "$OK" "$ARGUMENTS"
63
0 commit comments