Problem with reconstruct

nbouthors at nbi.fr nbouthors at nbi.fr
Tue Feb 8 04:28:55 EST 2005


Hi all,

I'm currentrly migrating mailservers for a client and we are having problems : 
I used small perl script using IMAP:Admin to dump the accounts and ACL from the
old server, and recreated the same accounts on the new server. Then I moved all
spool files (having stopped cyrus and postfix first) from one machine to the
other. Finaly I launched reconstruct to rebuild indexes.

Up to here, all was fine, the mailboxes show up fine, all mail is there but for
some users, some of the *subfolders* of their INBOX are not visible. They are
present on the server, contain mails and cyrus.* files, but I cannot access
them through imap.

I think what I have to do is rebuild the main mailbox.db file, problem is
reconstruct -m is not supported (says the man and the command itself).

I tried to find /var/spool/imap/user/username/ -name "cyrus.*" -print0 | xargs
-0 rm then reconstruct -rf user.username again. reconstruct says it find
directories and that it ads them to the indexes but they still don't show up in
the inbox.

Please help ! I'm lost here !

Thanks,

  Nicolas Bouthors
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list