File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,11 @@ if [ ! -z "$mail_data" ]; then
144144 find $HOMEDIR /$user /mail/$domain -user $owner \
145145 -exec chown -h $user {} \;
146146
147+ # Rebuild config
148+ $BIN /v-unsuspend-mail-domain $user $domain no >> /dev/null 2>&1
149+ $BIN /v-rebuild-mail-domains $owner no
150+ $BIN /v-rebuild-mail-domains $user
151+
147152 # Checking exim username for later chowning
148153 exim_user=" exim" ;
149154 check_exim_username=$( grep -c ' ^Debian-exim:' /etc/passwd)
@@ -155,11 +160,6 @@ if [ ! -z "$mail_data" ]; then
155160 find $HOMEDIR /$user /conf/mail/$domain -user root \
156161 -exec chown $exim_user {} \;
157162 fi
158-
159- # Rebuild config
160- $BIN /v-unsuspend-mail-domain $user $domain no >> /dev/null 2>&1
161- $BIN /v-rebuild-mail-domains $owner no
162- $BIN /v-rebuild-mail-domains $user
163163fi
164164
165165# Update counters
You can’t perform that action at this time.
0 commit comments