Browse Source

Fix duplicate mail domain rebuild on restore

Kristan Kenney 5 years ago
parent
commit
171ce1ada6
1 changed files with 1 additions and 4 deletions
  1. 1 4
      bin/v-restore-user

+ 1 - 4
bin/v-restore-user

@@ -595,10 +595,7 @@ if [ "$mail" != 'no' ] && [ ! -z "$MAIL_SYSTEM" ]; then
 
         # Restoring email accounts
         cp -f $tmpdir/mail/$domain/$backup_system/$domain.conf $USER_DATA/mail/
-
-        # Rebuilding mail config
-        $BIN/v-rebuild-mail-domains $user
-        
+       
         domain_idn=$domain
         format_domain_idn