testiing email restore functionality, when attempting to restore a backup, the system displays a message like:
All mailboxes and aliases will be restored to a 15/02/26, 12:52 backup.
Any messages received between 15/02/26, 12:52 and now will be deleted. You will not be able to make any changes to this website during the restore.
which indicates that any mail received after the date/time of the restored backup will be permanently lost.
but i've looked at the /var/local/enhance/email/mailboxes/<UUID>/<user>@<domain.tld> folders, and mail's that were received after the backup time of the chosen restore point were still there, albeit not visible in the webmail interface.
so i ran
doveadm force-resync -u <user>@<domain.tld> <user>@<domain.tld>
which completed without issue, and then a little bit after that, all the emails that were already received from after the time of the restored backup were visible in the webmail interface.
so they're not permanently lost/deleted, they can be recovered.
so my feature request is that a doveadm force-resync is automatically done for every restored mailbox once the
restore process has completed.
this way, a client won't have to give up on restoring an old backup to recover an vital email they deleted weeks ago because they don't want to lose all emails since then.