On Thu, 2009-10-15 at 08:04 +0100, John Moorhouse wrote:
I've recently had a oops with the system I was running dovecot on so have had to move it to a new machine, I've been able to retrieve the mbox files from the old machine, built the new machine and over wrote the new mbox files with the old one in maildir, connecting to the server via imap woeks but I can only see the mail in the inbox from the old mbox files, emails in sub directories (the sub directories arn't there), is there some command I need to run to get it to pass the mbox file to find the folders or it there another file I need to transfer form the old machine.
If you only copied mails from /var/mail/* then those are only INBOXes. The others are probably in users' ~/mail/ directory.
(I'm assuming that all the emails for a user, including those in subfolders are within the single mbox file, particularly as I'm is very large)
They're not. There's one mbox file per folder.