Well, I finally had time to try this (with a test account) and it did not work for me.
I restored the .mailboxname folder (and all its contents, and with permissions preserved) and even ran:
sudo doveadm force-resync -u testuser mailboxname
but I don't see the folder restored from my IMAP client (roundcube).
Anyone have any suggestions?
Thanks,
Sean
On 27 Apr 2022, at 18:53, Ted Hatfield wrote:
I've done so with no issues as long as permissions and ownership are accurate.
Ted Hatfield
On Wed, 27 Apr 2022, Sean McBride wrote:
Hi all,
I have a user (coworker) that accidentally deleted a mailbox and all its sub-mailboxes.
I use Maildir format storage. I have backups.
Is it enough to put the mailbox folder back where it was? I'm talking about the folder that contains 'cur', 'new', 'tmp', 'dovecot-uidlist', etc. Or would this desynchronize or otherwise confuse dovecot? Or is it preferable to use some doveadm command? Or...?
Thanks,
Sean