Question : Restore a Qmail Mailbox from files

Hi!

I've a plesk 8.3, with a Qmail server.

Someone deleted one email address, and unfortunatly the only backup we have is a backup of files of the whole server.

So I need to restore the email content from this.

So I copy the mailbox in /var/qmail/mailnames/xxxx/mailboxnamehere

I can connect to the mailbox, but when I go on an IMAP folder that isn't "INBOX", I get this error:

"Unable to open this mailbox"

I've tried this command: "/usr/local/psa/admin/sbin/mchk --with-spam" ( http://kb.parallels.com/en/944 ), but it doesn't change anything.

Is there someone where I can find server log informations? Is there a way to import theses files in a new mailbox?

Thank you! I'm not really an expert in Qmail, so all help will be really appreciated

Answer : Restore a Qmail Mailbox from files

In fact I've found a little script that repairs me at this address, it has resolved my problem.
http://alma.ch/blogs/bahut/2005/09/repair-courier-imap-maildir_25.html
Random Solutions  
 
programming4us programming4us