One of my users accidentally deleted their entire Inbox.
I was able to restore all raw email files from a backup (encrypted).
I have manually copied those files into the user’s Maildir/cur folder, fixed permissions/ownership, restarted mailcow, and ran doveadm force-resync -u $USER INBOX.
The mailcow GUI is not updating the email count, so I am assuming I did something wrong.
Would anybody happen to know if there’s anything solvable here, or if the emails are gone? I am in the process of trying to manually decrypt the files, but so far have been unsuccessful.