Here is how to get a single importable mailbox out of a complete Plesk server backup.
-
Download the backup from the remote Plesk server to your local machine
-
Unarchive the downloaded
backup_*.tarfile -
Look for
backup_domainmail_*.tzstinside the extracted directory and unarchive it using p7zipStarting from Plesk Obsidian 18.0.40, GZIP compression used in the Plesk backups has been replaced with ZSTD compression to improve performance for backup and restore operations.
-
https://github.com/jinfeihan57/p7zip#install-cli
/path/to/your/bin/7z x /path/to/your/backup_domainmail_*.tzst -
Unarchive the extracted file (it still is compressed as a
.tarfile)
-
-
Locate the desired mailuser subdirectory inside the extracted archive and see the
Maildirdirectory -
Convert the
Maildirto amboxfile, since macOS Mail.app only supportsmboxfiles (we will use a python package for this)-
https://pypi.org/project/maildir2mbox/
python -m maildir2mbox /path/to/your/Maildir /path/to/your/converted.mbox
-
-
Import the
converted.mboxfile into your Mail.app, importing locally before putting it on the remote server is probably a good idea