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 0095433 commit 82252b3Copy full SHA for 82252b3
bin/v-rebuild-mail-domains
@@ -53,6 +53,11 @@ fi
53
# Starting loop
54
for domain in $(search_objects 'mail' 'SUSPENDED' "*" 'DOMAIN'); do
55
rebuild_mail_domain_conf
56
+ if [ ! -z "$WEB_SYSTEM" ] || [ ! -z "$PROXY_SYSTEM" ]; then
57
+ $BIN/v-delete-webmail $1 $domain 'no'
58
+ $BIN/v-add-webmail $1 $domain 'yes'
59
+ sleep 0.5
60
+ fi
61
done
62
63
0 commit comments