Browse Source

Initial commit: Fix for missing mail SSL on restore

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

+ 4 - 0
bin/v-restore-user

@@ -603,6 +603,10 @@ if [ "$mail" != 'no' ] && [ ! -z "$MAIL_SYSTEM" ]; then
             cp -f $tmpdir/mail/$domain/$backup_system/$domain.pub $USER_DATA/mail/
         fi
 
+        rebuild_mail_domain_conf
+        
+        fi
+
         # Restoring email accounts
         cp -f $tmpdir/mail/$domain/$backup_system/$domain.conf $USER_DATA/mail/