Michael Kärcher (List Posts) wrote:
Yup, reconstruct did exactly what it was told to do :-).
It would also repair the subdirectoies, if instructed to do so... "man reconstruct" says: -r Recursively reconstruct all sub-mailboxes of the mailboxes or mailbox prefixes given as arguments.
- First, check whether you've got cyrus.* files in the subdirs. If they are not there, it's going to be a little more complicated (but nevertheless possible - just ask me how it's done).
- Double-check that everything in the mail hierarchy is owned by cyrus:mail and has mode 0600 (files) and 0700 (dirs).
- If so, then run "reconstruct -r user.hansdp" (>>> as user cyrus <<<)
Hi Michael, I did reconstruct with a -r too, didn't work. I didn't backup the /var/lib/imap directory - did know about it. Now I know... I don't know if this should make a difference, but I was running Debian on the notebook before I reloaded. I eventually cleared the /var/spool/imap directory, then one by one made all the folders and subfolders through my mail client, exactly as they were, restored the tarball, chmod the whole thing, then ran reconstruct, one by one, on each subfolder, something like reconstruct user.hansdp.sent and so on. Took me about an hour but all is back to normal now, except which mails was read and which not, but that's minor. Thanks for the help. Now I just need to figure out sieve so my inbox can become manageable again.... :-) Thanks Hans
participants (1)
-
Hans du Plooy