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_*.tar
file -
Look for
backup_domainmail_*.tzst
inside 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
.tar
file)
-
-
Locate the desired mailuser subdirectory inside the extracted archive and see the
Maildir
directory -
Convert the
Maildir
to ambox
file, since macOS Mail.app only supportsmbox
files (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.mbox
file into your Mail.app, importing locally before putting it on the remote server is probably a good idea