[Dovecot] Restoring a deleted/moved imap folder

Timo Sirainen tss at iki.fi
Sun Aug 26 01:44:24 EEST 2007


On Sat, 2007-08-25 at 18:02 -0400, Oliver Schulze L. wrote:
> Hi,
> one user of my imap server just deleted a whole folder, blame thunderbird
> 
> I have the server disk and running Stellar Info for deleted files recovery.
> 
> My cuestion is about how dovecot deleted an imap Maildir folder?
> The imap client is configured to move the deleted mails to the Trash
> folder, so I think dovecot would delete every Maildir email after 
> successfully
> moved it.

When you delete a folder with Thunderbird it usually renames it under
Trash (e.g. box -> Trash.box), so you should still be able to rescue it.
If Trash was already compacted, then Thunderbird issued a DELETE command
which causes Dovecot to unlink() and rmdir() everything.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070826/b34a1579/attachment.bin 


More information about the dovecot mailing list