How to Restore one “folder” from IMAP

ALL EMAILS ARE INSIDE OF Maildir folder name.

Let’s get the example, we want to restore a “DNS” email folder.

1 - Restore the email users to “restore” folder

/restore/davis_dai

2 - Find the folder from backup

cd /restore/davis_dai/Maildir

drwx—— 5 davis_dai 2000 4.0K Nov 14 14:36 .Boss

drwx—— 5 davis_dai 2000 4.0K Oct 8 2012 .Deleted Items

drwx—— 5 davis_dai 2000 4.0K May 6 09:12 .Deleted Messages

drwx—— 5 davis_dai users 4.0K Nov 14 14:36 .DNS

cp -a .DNS /home/davis_dai/Maildir

Fix the permission chown davis_dai /home/davis_dai/Maildir/.DNS -R

3 - We need to subscribe the new folder in Thundebird.

righ+click on user email account.