direct_imap_backup to no backup imap folder if it doesn't exist

Version 1.50.1


With the addition of the direct_imap_backup=1 feature (Disabled by default) DA can backup the /home/user/imap folder directly into the tar.gz backup file. The issue is that for Admin or Reseller accounts that might not have a domain, this can cause an error: Error Compressing the backup file admin.root.admin.tar.gz : /bin/tar: imap: Cannot stat: No such file or directory /bin/tar: Exiting with failure status due to previous errors So if the feature is enabled, do a check before including the imap folder.

Try DirectAdmin with a 30-day money back guarantee!